@Test
public void testParseStorageCollectionResponse() {

	StorageCollection results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseStorageCollectionResponse(STORAGECOLLECTIONRESPONSE);
        
        assertEquals(2, results.getStorage().size());
        assertEquals("45baf976-c20a-4894-a7c3-c94b7376bf55", 
                results.getStorage().get(0).getHref());
        assertEquals("5aa119a8-d25b-45a7-8d1b-88e127885635", 
                results.getStorage().get(1).getHref());
        assertEquals("vol-004", 
                results.getStorage().get(0).getName());
        assertEquals("vol-003", 
                results.getStorage().get(1).getName());
        
        results =
            parser.parseStorageCollectionResponse(
            		STORAGECOLLECTIONMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}