// 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.AlfrescoTestRunner;
import org.alfresco.service.cmr.repository.*;
import org.alfresco.service.namespace.QName;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import static org.alfresco.service.namespace.QName.createQName;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
package com.someco.test;




/**
 * Created by jpotts, Metaversant on 4/11/18.
 */
@RunWith(value = AlfrescoTestRunner.class)
public class SomecoRatingModelIT extends BaseIT {

    @Test
    public void testSomeCoRatingModel() {
        Collection<QName> allContentModels = getServiceRegistry().getDictionaryService().getAllModels();
// 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/SomecoRatingModelIT.java
import com.someco.model.SomeCoRatingsModel;
import org.alfresco.model.ContentModel;
import org.alfresco.rad.test.AlfrescoTestRunner;
import org.alfresco.service.cmr.repository.*;
import org.alfresco.service.namespace.QName;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import static org.alfresco.service.namespace.QName.createQName;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

package com.someco.test;




/**
 * Created by jpotts, Metaversant on 4/11/18.
 */
@RunWith(value = AlfrescoTestRunner.class)
public class SomecoRatingModelIT extends BaseIT {

    @Test
    public void testSomeCoRatingModel() {
        Collection<QName> allContentModels = getServiceRegistry().getDictionaryService().getAllModels();
        QName scModelQName = createQName(SomeCoRatingsModel.NAMESPACE_SOMECO_RATINGS_CONTENT_MODEL, "somecoratingsmodel");