@Test
public void testParseComputeResponse() {

    Compute results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseComputeResponse(COMPUTERESPONSE);
        
        assertEquals("3f9f7d18-aaf3-4703-b368-ea9b4d609c95",
        	results.getHref());
        assertEquals("new-server-test", results.getName());
        assertEquals(ComputeState.ACTIVE, results.getState());
        assertEquals("1", results.getInstanceType());
        
        results =
            parser.parseComputeResponse(
            		COMPUTEMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}