@Test
public void testParseAttachedStoragesResponse() {

    List<Compute.Disk> results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseAttachedStoragesResponse(VOLUMEATTACHMENTRESPONSE);
        
        assertEquals(2, results.size());
        assertEquals("a26887c6-c47b-4654-abb5-dfadf7d3f803",
        	results.get(0).getStorage().getHref());
        assertEquals("a26887c6-c47b-4654-abb5-dfadf7d3f804",
        	results.get(1).getStorage().getHref());
        assertEquals("/dev/sdd", results.get(0).getTarget());
        assertEquals("/dev/sdc", results.get(1).getTarget());
        
        results =
            parser.parseAttachedStoragesResponse(
            		VOLUMEATTACHMENTMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}