// Path: behaviors/behavior-tutorial/behavior-tutorial-platform/src/main/java/com/someco/model/SomeCoRatingsModel.java
// public interface SomeCoRatingsModel {
//     // Namespaces
//     public static final String NAMESPACE_SOMECO_RATINGS_CONTENT_MODEL  = "http://www.someco.com/model/ratings/1.0";
// 
//     // Types
//     public static final String TYPE_SCR_RATING = "rating";
// 
//     // Aspects
//     public static final String ASPECT_SCR_RATEABLE = "rateable";
// 
//     // Properties
//     public static final String PROP_RATING = "rating";
//     public static final String PROP_RATER = "rater";
//     public static final String PROP_AVERAGE_RATING= "averageRating";
//     public static final String PROP_TOTAL_RATING= "totalRating";
//     public static final String PROP_RATING_COUNT= "ratingCount";
// 
//     // Associations
//     public static final String ASSN_SCR_RATINGS = "ratings";
// }


import com.someco.model.SomeCoRatingsModel;
import org.alfresco.model.ContentModel;
import org.alfresco.rad.test.AbstractAlfrescoIT;
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.repo.nodelocator.CompanyHomeNodeLocator;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.ContentReader;
import org.alfresco.service.cmr.repository.ContentWriter;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.io.IOUtils;
import org.junit.After;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.util.Map;
import static org.alfresco.service.namespace.QName.createQName;
package com.someco.test;




/**
 * Created by jpotts, Metaversant on 4/11/18.
 */
public class BaseIT extends AbstractAlfrescoIT {
    NodeRef nodeRef;

    final QName PROP_RATING_QNAME = QName.createQName(
// Path: behaviors/behavior-tutorial/behavior-tutorial-platform/src/main/java/com/someco/model/SomeCoRatingsModel.java
// public interface SomeCoRatingsModel {
//     // Namespaces
//     public static final String NAMESPACE_SOMECO_RATINGS_CONTENT_MODEL  = "http://www.someco.com/model/ratings/1.0";
// 
//     // Types
//     public static final String TYPE_SCR_RATING = "rating";
// 
//     // Aspects
//     public static final String ASPECT_SCR_RATEABLE = "rateable";
// 
//     // Properties
//     public static final String PROP_RATING = "rating";
//     public static final String PROP_RATER = "rater";
//     public static final String PROP_AVERAGE_RATING= "averageRating";
//     public static final String PROP_TOTAL_RATING= "totalRating";
//     public static final String PROP_RATING_COUNT= "ratingCount";
// 
//     // Associations
//     public static final String ASSN_SCR_RATINGS = "ratings";
// }


// Path: behaviors/behavior-tutorial/behavior-tutorial-integration-tests/src/test/java/com/someco/test/BaseIT.java
import com.someco.model.SomeCoRatingsModel;
import org.alfresco.model.ContentModel;
import org.alfresco.rad.test.AbstractAlfrescoIT;
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.repo.nodelocator.CompanyHomeNodeLocator;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.ContentReader;
import org.alfresco.service.cmr.repository.ContentWriter;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.io.IOUtils;
import org.junit.After;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.util.Map;
import static org.alfresco.service.namespace.QName.createQName;

package com.someco.test;




/**
 * Created by jpotts, Metaversant on 4/11/18.
 */
public class BaseIT extends AbstractAlfrescoIT {
    NodeRef nodeRef;

    final QName PROP_RATING_QNAME = QName.createQName(
            SomeCoRatingsModel.NAMESPACE_SOMECO_RATINGS_CONTENT_MODEL,