@Test
public void testParseStorageResponse() {

	Storage results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseStorageResponse(STORAGERESPONSE);
        
        assertEquals("This is yet, another volume.",
        		results.getDescription());
        assertEquals("5aa119a8-d25b-45a7-8d1b-88e127885635",
        		results.getHref());
        assertEquals("vol-003", results.getName());
        assertEquals("1", results.getSize());
        assertEquals(StorageType.DATABLOCK, results.getType());
        
        results =
            parser.parseStorageResponse(
            		STORAGEMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}