@Test
public void testParseImageResponse() {

	Storage results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseImageResponse(IMAGERESPONSE);
        
        assertEquals("1bea47ed-f6a9-463b-b423-14b9cca9ad27",
        		results.getHref());
        assertEquals("cirros-0.3.2-x86_64-disk", results.getName());
        assertEquals("13167616", results.getSize());
        assertEquals(StorageType.OS, results.getType());
        
        results =
            parser.parseImageResponse(IMAGEMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}