Checkstyle Import issues fix (SPI tests,Northbound API)
[neutron.git] / neutron-spi / src / test / java / org / opendaylight / neutron / spi / NeutronLoadBalancerJAXBTest.java
index 815b2fc0c5ae33078920b82ebbb5fa33ba00d843..dd993608c5554770bbcbddbc2ad48f7beb8d4b68 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright IBM Corporation and others, 2015.  All rights reserved.
+ * 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,
@@ -8,10 +8,8 @@
 
 package org.opendaylight.neutron.spi;
 
-import org.junit.Test;
 import org.junit.Assert;
-
-import org.opendaylight.neutron.spi.NeutronLoadBalancer;
+import org.junit.Test;
 
 public class NeutronLoadBalancerJAXBTest {
 
@@ -29,14 +27,11 @@ public class NeutronLoadBalancerJAXBTest {
             NeutronLoadBalancer testObject = (NeutronLoadBalancer) JaxbTestHelper.jaxbUnmarshall(dummyObject,
                     NeutronLoadBalancer_sourceJson);
             Assert.assertEquals("NeutronLoadBalancer JAXB Test 1: Testing id failed",
-                    "2f245a7b-796b-4f26-9cf9-9e82d248fda7", testObject.loadBalancerID);
+                    "2f245a7b-796b-4f26-9cf9-9e82d248fda7", testObject.uuid);
 
             Assert.assertEquals("NeutronLoadBalancer JAXB Test 2: Testing LoadBalancer Name failed",
                     "NeutronLoadBalancer", testObject.getLoadBalancerName());
 
-            Assert.assertEquals("NeutronLoadBalancer JAXB Test 3: Testing LoadBalancer Description failed",
-                    "NeutronLoadBalancer_Description", testObject.getLoadBalancerDescription());
-
             Assert.assertEquals("NeutronLoadBalancer JAXB Test 4: Testing status failed", "ACTIVE",
                     testObject.getLoadBalancerStatus());
 
@@ -50,7 +45,7 @@ public class NeutronLoadBalancerJAXBTest {
                     "d23abc8d-2991-4a55-ba98-2aaea84cc72f", testObject.loadBalancerVipSubnetID);
 
             Assert.assertEquals("NeutronLoadBalancer JAXB Test 8: Testing tenant_id failed",
-                    "4969c491a3c74ee4af974e6d800c62de", testObject.getLoadBalancerTenantID());
+                    "4969c491a3c74ee4af974e6d800c62de", testObject.getTenantID());
         } catch (Exception e) {
             Assert.assertTrue("Tests failed", false);
         }