@Test
public void testParseNetworkCollectionResponse() {

	String[][] results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseNetworkCollectionResponse(NETWORKCOLLECTIONRESPONSE);
        
        assertEquals(2, results.length);
        assertEquals(3, results[0].length);
        assertEquals(4, results[1].length);
        assertEquals("d32019d3-bc6e-4319-9c1d-6722fc136a22", results[0][0]);
        assertEquals("private-network", results[0][1]);
        assertEquals("54d6f61d-db07-451c-9ab3-b9609b6b6f0b", results[0][2]);
        assertEquals("db193ab3-96e3-4cb3-8fc5-05f4296d0324", results[1][0]);
        assertEquals("private", results[1][1]);
        assertEquals("08eae331-0402-425a-923c-34f7cfe39c1b", results[1][2]);
        assertEquals("08eae331-0402-425a-923c-34f7cfe39c1c", results[1][3]);
        
        results =
            parser.parseNetworkCollectionResponse(
            		NETWORKCOLLECTIONMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}