@Test
public void testParseSubnetResponse() {

	Network results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseSubnetResponse(SUBNETRESPONSE);
        
        assertEquals("192.0.0.0/8", results.getAddress());
        assertEquals("54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
        		results.getHref());
        assertEquals("test_subnet_1", results.getName());
        assertEquals("C", results.getSize());
        
        results =
            parser.parseSubnetResponse(
                    SUBNETMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}