Checkstyle formatting issues fix (SPI)
[neutron.git] / neutron-spi / src / test / java / org / opendaylight / neutron / spi / NeutronPort_AllowedAddressPairsJAXBTest.java
index 809c8c5e3eb1ab38248cc5f79f1d15a525205bf1..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,14 +25,10 @@ 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());
 
         } catch (Exception e) {
-            e.printStackTrace();
             Assert.assertFalse("Tests Failed", true);
         }
     }