'The correct callbacks fire, and that *only* those fire.'

def test_callbacksCalled(self):

    sentencesByType = {'GPGGA': ['$GPGGA*56'], 'GPGLL': ['$GPGLL*50'], 'GPGSA': ['$GPGSA*42'], 'GPGSV': ['$GPGSV*55'], 'GPHDT': ['$GPHDT*4f'], 'GPRMC': ['$GPRMC*4b']}
    for (sentenceType, sentences) in iteritems(sentencesByType):
        for sentence in sentences:
            self.protocol.lineReceived(sentence)
            self.assertEqual(self.sentenceTypes, set([sentenceType]))
            self.sentenceTypes.clear()
