public class NeutronPort_AllowedAddressPairsJAXBTest {
private static final String NeutronPort_AllowedAddressPairs_sourceJson = "{ "
- + "\"ip_address\": \"192.168.199.1\", " + "\"port_id\": \"65c0ee9f-d634-4522-8954-51021b570b0d\", "
+ + "\"ip_address\": \"192.168.199.1\", "
+ "\"mac_address\": \"fa:16:3e:c9:cb:f0\" }";
@Test
Assert.assertEquals("NeutronPort Allowed Address Pairs JAXB Test 1: Testing ip_address failed",
"192.168.199.1", testObject.getIpAddress());
- Assert.assertEquals("NeutronPort Allowed Address Pairs JAXB Test 2: Testing port_id failed",
- "65c0ee9f-d634-4522-8954-51021b570b0d", testObject.getPortID());
-
Assert.assertEquals("NeutronPort Allowed Address Pairs JAXB Test 10: Testing mac_address failed",
"fa:16:3e:c9:cb:f0", testObject.getMacAddress());