@Test
public void testParseInstanceTypeResponse() {

	InstanceType results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results = parser.parseInstanceTypeResponse(INSTANCETYPERESPONSE);
        
        assertEquals(1, results.getCpu());
        assertEquals("1", results.getHref());
        assertEquals(512, results.getMemory());
        assertEquals("m1.tiny", results.getName());
        
        results =
        	parser.parseInstanceTypeResponse(INSTANCETYPEMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}