@Test
public void testParseVirtualInterfacesResponse() {

    List<Compute.Nic> results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseVirtualInterfacesResponse(VIRTUALINTERFACESRESPONSE);
        
        assertEquals(1, results.size());
        assertEquals("a26887c6-c47b-4654-abb5-dfadf7d3f803",
        	results.get(0).getNetwork().getHref());
        assertEquals("fa:16:3e:7d:31:9a", results.get(0).getMac());
        
        results =
            parser.parseVirtualInterfacesResponse(
            		VIRTUALINTERFACESMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}