Checkstyle formatting issues fix (SPI)
[neutron.git] / neutron-spi / src / test / java / org / opendaylight / neutron / spi / NeutronPort_AllowedAddressPairsJAXBTest.java
index c81ae886a6af4e744b8cf939ba11a961b629b739..ec195ca98d2421770db5d3bf4d40ab53d13127c4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 IBM, Inc.
+ * Copyright (c) 2015 Tata Consultancy Services.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -10,14 +10,11 @@ package org.opendaylight.neutron.spi;
 
 import org.junit.Assert;
 import org.junit.Test;
-import org.opendaylight.neutron.spi.JaxbTestHelper;
-import org.opendaylight.neutron.spi.NeutronPort_AllowedAddressPairs;
 
 public class NeutronPort_AllowedAddressPairsJAXBTest {
 
     private static final String NeutronPort_AllowedAddressPairs_sourceJson = "{ "
-            + "\"ip_address\": \"192.168.199.1\", " + "\"port_id\": \"65c0ee9f-d634-4522-8954-51021b570b0d\", "
-            + "\"mac_address\": \"fa:16:3e:c9:cb:f0\" }";
+            + "\"ip_address\": \"192.168.199.1\", " + "\"mac_address\": \"fa:16:3e:c9:cb:f0\" }";
 
     @Test
     public void test_NeutronPort_AllowedAddressPairs_JAXB() {
@@ -28,9 +25,6 @@ public class NeutronPort_AllowedAddressPairsJAXBTest {
             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());