@Test
public void testParseComputeCollectionResponse() {

	ComputeCollection results;
    OpenStackParser parser = new OpenStackParser();
    try {
        results =
            parser.parseComputeCollectionResponse(COMPUTECOLLECTIONRESPONSE);
        
        assertEquals(1, results.getCompute().size());
        assertEquals("b626796d-d585-4874-b178-78c65289bba4", 
                results.getCompute().get(0).getHref());
        assertEquals("new-server-test", 
                results.getCompute().get(0).getName());
        
        results =
            parser.parseComputeCollectionResponse(
            		COMPUTECOLLECTIONMALFORMEDRESPONSE);
        fail();
    } catch (OCCIException e) {
        assertTrue(true);
    }
}