'``CachingEncoder.encode`` returns result of ``wire_encode`` for given
object.'

def test_encodes(self):

    self.assertEqual([loads(caching_wire_encode(_TEST_DEPLOYMENT)), loads(caching_wire_encode(NODE_STATE))], [loads(wire_encode(_TEST_DEPLOYMENT)), loads(wire_encode(NODE_STATE))])
