import org.junit.Assert;
import org.junit.Test;
-public class Neutron_IPsJAXBTest {
+public class NeutronIPsJAXBTest {
private static final String NEUTRON_IPS_SOURCE_JSON =
"{ \"ip_address\": \"192.168.111.3\", " + "\"subnet_id\": \"22b44fc2-4ffb-4de4-b0f9-69d58b37ae27\" }";
@Test
- public void test_Neutron_IPs_JAXB() throws JAXBException {
- Neutron_IPs neutronObject = new Neutron_IPs();
- Neutron_IPs testObject = (Neutron_IPs) JaxbTestHelper.jaxbUnmarshall(neutronObject, NEUTRON_IPS_SOURCE_JSON);
+ public void test_NeutronIPs_JAXB() throws JAXBException {
+ NeutronIPs neutronObject = new NeutronIPs();
+ NeutronIPs testObject = (NeutronIPs) JaxbTestHelper.jaxbUnmarshall(neutronObject, NEUTRON_IPS_SOURCE_JSON);
- Assert.assertEquals("Neutron_IPs JAXB Test 1: Testing ip_address failed", "192.168.111.3",
+ Assert.assertEquals("NeutronIPs JAXB Test 1: Testing ip_address failed", "192.168.111.3",
testObject.getIpAddress());
- Assert.assertEquals("Neutron_IPs JAXB Test 2: Testing subnet_id failed",
+ Assert.assertEquals("NeutronIPs JAXB Test 2: Testing subnet_id failed",
"22b44fc2-4ffb-4de4-b0f9-69d58b37ae27", testObject.getSubnetUUID());
}
}