// Path: client/src/main/java/com/shopzilla/api/client/model/response/AttributeSearchResponse.java
// public class AttributeSearchResponse extends BaseResponse implements SearchResponse {
// 
//     private Attributes attributes;
// 
//     private Integer includedResults;
// 
//     private String metaInfo;
// 
//     public Attributes getAttributes() {
//         return attributes;
//     }
// 
//     public void setAttributes(Attributes attributes) {
//         this.attributes = attributes;
//     }
// 
//     public Integer getIncludedResults() {
//         return includedResults;
//     }
// 
//     public void setIncludedResults(Integer includedResults) {
//         this.includedResults = includedResults;
//     }
// 
//     public String getMetaInfo() {
//         return metaInfo;
//     }
// 
//     public void setMetaInfo(String metaInfo) {
//         this.metaInfo = metaInfo;
//     }
// 
//     public Integer getTotalResults() {
//         return includedResults;
//     }
// 
//     public static class Attributes {
// 
//         protected List<AttributeType> attribute;
// 
//         public List<AttributeType> getAttribute() {
//             if (attribute == null) {
//                 attribute = new ArrayList<AttributeType>();
//             }
//             return this.attribute;
//         }
// 
//     }
// }


import com.shopzilla.api.client.model.response.AttributeSearchResponse;
import com.shopzilla.services.catalog.AttributeResponse;
import com.shopzilla.services.catalog.AttributeType;
import com.shopzilla.services.catalog.AttributeValueType;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import java.math.BigDecimal;
import java.util.List;
import static org.junit.Assert.assertTrue;
/**
 * Copyright (C) 2004 - 2011 Shopzilla, Inc. 
 * All rights reserved. Unauthorized disclosure or distribution is prohibited.
 */

package com.shopzilla.api.client.model;




/**
 *
 * @author Emanuele Blanco
 * @since 01/12/11
 */
public class AttributeModelAdapterTest {

    @Test
    public void testWithNullInput() throws Exception {
// Path: client/src/main/java/com/shopzilla/api/client/model/response/AttributeSearchResponse.java
// public class AttributeSearchResponse extends BaseResponse implements SearchResponse {
// 
//     private Attributes attributes;
// 
//     private Integer includedResults;
// 
//     private String metaInfo;
// 
//     public Attributes getAttributes() {
//         return attributes;
//     }
// 
//     public void setAttributes(Attributes attributes) {
//         this.attributes = attributes;
//     }
// 
//     public Integer getIncludedResults() {
//         return includedResults;
//     }
// 
//     public void setIncludedResults(Integer includedResults) {
//         this.includedResults = includedResults;
//     }
// 
//     public String getMetaInfo() {
//         return metaInfo;
//     }
// 
//     public void setMetaInfo(String metaInfo) {
//         this.metaInfo = metaInfo;
//     }
// 
//     public Integer getTotalResults() {
//         return includedResults;
//     }
// 
//     public static class Attributes {
// 
//         protected List<AttributeType> attribute;
// 
//         public List<AttributeType> getAttribute() {
//             if (attribute == null) {
//                 attribute = new ArrayList<AttributeType>();
//             }
//             return this.attribute;
//         }
// 
//     }
// }


// Path: client/src/test/java/com/shopzilla/api/client/model/AttributeModelAdapterTest.java
import com.shopzilla.api.client.model.response.AttributeSearchResponse;
import com.shopzilla.services.catalog.AttributeResponse;
import com.shopzilla.services.catalog.AttributeType;
import com.shopzilla.services.catalog.AttributeValueType;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import java.math.BigDecimal;
import java.util.List;
import static org.junit.Assert.assertTrue;

/**
 * Copyright (C) 2004 - 2011 Shopzilla, Inc. 
 * All rights reserved. Unauthorized disclosure or distribution is prohibited.
 */

package com.shopzilla.api.client.model;




/**
 *
 * @author Emanuele Blanco
 * @since 01/12/11
 */
public class AttributeModelAdapterTest {

    @Test
    public void testWithNullInput() throws Exception {
        assertTrue(responsesAreEqual(new AttributeSearchResponse(), AttributeModelAdapter.fromCatalogAPI(null)));