def METHOD_NAME(self):
    self.serializer = mock.create_autospec(filehandler.FileHandleManager)
    self.serializer.open.return_value = filehandler.NullFileHandle
    self.ac = ActionCommand("action.1.do", "do", self.serializer)