def METHOD_NAME(self):
    super(FacilityDataSyncHooksTestCase, self).METHOD_NAME()
    class TestHook(object):
        pre_transfer = mock.Mock()
        post_transfer = mock.Mock()
    self.hook = TestHook()
    self.local_context = mock.Mock(spec=LocalSessionContext())
    self.local_context.sync_session.server_certificate.get_root.return_value.id = (
        "123"
    )
    self.context = mock.Mock(
        spec=CompositeSessionContext([self.local_context]),
        children=[self.local_context],
    )