@@ -0,0 +1,664 @@
+# Copyright (c) 2013, The MITRE Corporation. All rights reserved.%0A# See LICENSE.txt for complete terms.%0A%0Aimport unittest%0A%0Afrom cybox.objects.port_object import Port%0Aimport cybox.test%0Afrom cybox.test.objects import ObjectTestCase%0A%0A%0Aclass TestURI(unittest.TestCase, ObjectTestCase):%0A    object_type = %22PortObjectType%22%0A    klass = Port%0A%0A    def test_round_trip(self):%0A        port_dict = %7B'port_value': 80,%0A                     'layer4_protocol': 'TCP',%0A                     'xsi:type': 'PortObjectType'%7D%0A        port_dict2 = cybox.test.round_trip_dict(Port, port_dict)%0A        self.assertEqual(port_dict, port_dict2)%0A%0A%0Aif __name__ == %22__main__%22:%0A    unittest.main()%0A

Add failing port test