'A mix of sentences fires the correct callbacks.'

def test_mixedSentences(self):

    sentences = [GPRMC, GPGGA]
    callbacksFired = ['altitudeReceived', 'speedReceived', 'positionReceived', 'positionErrorReceived', 'timeReceived', 'headingReceived']
    def checkTime():
        expectedDateTime = datetime.datetime(1994, 3, 23, 12, 35, 19)
        self.assertEqual(self.adapter._state['time'], expectedDateTime)
    self._receiverTest(sentences, callbacksFired, checkTime)
