def METHOD_NAME(self):
    self.mock_params = ['param1', 'param2']
    self.mock_parser_callback = mock.Mock()
    self.mock_parser_callback.return_value = 42
    self.process_communicate_mock = mock.Mock(
        wraps=self._mock_process_communicate,
    )
    self.process_mock = mock.Mock()
    self.process_mock.configure_mock(
        communicate=self.process_communicate_mock,
    )
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)