'The classes in the amp module ought to implement the interfaces that
are declared for their benefit.'

def test_interfaceDeclarations(self):

    for (interface, implementation) in [(amp.IBoxSender, amp.BinaryBoxProtocol), (amp.IBoxReceiver, amp.BoxDispatcher), (amp.IResponderLocator, amp.CommandLocator), (amp.IResponderLocator, amp.SimpleStringLocator), (amp.IBoxSender, amp.AMP), (amp.IBoxReceiver, amp.AMP), (amp.IResponderLocator, amp.AMP)]:
        self.assertTrue(interface.implementedBy(implementation), ('%s    does    not    implements(%s)' % (implementation, interface)))
