    @Test
    public void testFromCatalogAPI() throws Exception {

        AttributeResponse attributeResponse = generateAttributeResponse();
        AttributeSearchResponse attributeSearchResponse = AttributeModelAdapter.fromCatalogAPI(attributeResponse);
        assertTrue(responsesAreEqual(generateExpectedAttributeSearchResponse(), attributeSearchResponse));
    }