def _testCallSuperWithDeferSuccess(self):
    method_name = '_FooMethod'
    args = ['foo', 'bar']
    kwargs = {'foo': 'bar', 'bar': 'foo'}

    mock_method = self.mox.CreateMockAnything()
    setattr(gaeserver.Auth1ServerDatastoreSession, method_name, mock_method)
    mock_method(*args, **kwargs).AndReturn(True)

    self.mox.ReplayAll()
    self.ams._CallSuperWithDefer(method_name, *args, **kwargs)
    self.mox.VerifyAll()
Test the _CallSuperWithDefer() method.
dataset/ETHPy150Open google/simian/src/tests/simian/auth/gaeserver_test.py/Auth1ServerDatastoreMemcacheSessionTest._testCallSuperWithDeferSuccess