'Test the event listener.'

def test_event_listener(self):

    with mock.patch.object(self.gf, '_queue') as mock_queue:
        self.gf.event_listener('foo')
        self.assertEqual(mock_queue.put.call_count, 1)
        self.assertEqual(mock_queue.put.call_args, mock.call('foo'))
