@@ -0,0 +1,3238 @@
+package org.slc.sli.modeling.rest;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.ArrayList;%0A%0Aimport javax.xml.namespace.QName;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A/**%0A * JUnit test for Param class.%0A *%0A * @author wscott%0A *%0A */%0Apublic class ParamTest %7B%0A%0A    private Param param; // class under test%0A%0A    private static final String NAME = %22name%22;%0A    private static final String ID = %22id%22;%0A    private static final QName TYPE = new QName(%22qname%22);%0A    private static final ParamStyle STYLE = ParamStyle.QUERY;%0A    private static final String PATH = %22path%22;%0A    private static final String FIXED = %22fixed%22;%0A    private static final boolean REPEATING = true;%0A    private static final boolean REQUIRED = true;%0A    private static final String DEFAULT_VALUE = %22defaultValue%22;%0A    private static final ArrayList%3CDocumentation%3E DOC = new ArrayList%3CDocumentation%3E(%0A            0);%0A    private static final String RESOURCE_TYPE = %22resourceType%22;%0A    private static final String REL = %22rel%22;%0A    private static final String REV = %22rev%22;%0A    private static final ArrayList%3COption%3E OPTIONS = new ArrayList%3COption%3E(0);%0A    private static final Link LINK = new Link(RESOURCE_TYPE, REL, REV, DOC);%0A%0A    @Before%0A    public void setup() throws Exception %7B%0A        param = new Param(NAME, STYLE, ID, TYPE, DEFAULT_VALUE, REQUIRED,%0A                REPEATING, FIXED, PATH, DOC, OPTIONS, LINK);%0A    %7D%0A%0A    @Test (expected = NullPointerException.class)%0A    public void testNullName() %7B%0A        new Param(null, STYLE, ID, TYPE, DEFAULT_VALUE, REQUIRED, REPEATING,%0A                FIXED, PATH, DOC, OPTIONS, LINK);%0A    %7D%0A%0A    @Test (expected = NullPointerException.class)%0A    public void testNullStyle() %7B%0A        new Param(NAME, null, ID, TYPE, DEFAULT_VALUE, REQUIRED, REPEATING,%0A                FIXED, PATH, DOC, OPTIONS, LINK);%0A    %7D%0A%0A    @Test (expected = NullPointerException.class)%0A    public void testNullOptions() %7B%0A        new Param(NAME, STYLE, ID, TYPE, DEFAULT_VALUE, REQUIRED, REPEATING,%0A                FIXED, PATH, DOC, null, LINK);%0A    %7D%0A%0A    @Test%0A    public void testGetName() %7B%0A        assertEquals(NAME, param.getName());%0A    %7D%0A%0A    @Test%0A    public void testGetStyle() %7B%0A        assertEquals(STYLE, param.getStyle());%0A    %7D%0A%0A    @Test%0A    public void testGetId() %7B%0A        assertEquals(ID, param.getId());%0A    %7D%0A%0A    @Test%0A    public void testGetType() %7B%0A        assertEquals(TYPE, param.getType());%0A    %7D%0A%0A    @Test%0A    public void testGetDefault() %7B%0A        assertEquals(DEFAULT_VALUE, param.getDefault());%0A    %7D%0A%0A    @Test%0A    public void testGetRequired() %7B%0A        assertEquals(REQUIRED, param.getRequired());%0A    %7D%0A%0A    @Test%0A    public void testGetRepeating() %7B%0A        assertEquals(REPEATING, param.getRepeating());%0A    %7D%0A%0A    @Test%0A    public void testGetFixed() %7B%0A        assertEquals(FIXED, param.getFixed());%0A    %7D%0A%0A    @Test%0A    public void testGetPath() %7B%0A        assertEquals(PATH, param.getPath());%0A    %7D%0A%0A    @Test%0A    public void testGetOptions() %7B%0A        assertEquals(OPTIONS, param.getOptions());%0A    %7D%0A%0A    @Test%0A    public void testGetLink() %7B%0A        assertEquals(LINK, param.getLink());%0A    %7D%0A%0A    @Test%0A    public void testToString() %7B%0A        assertTrue(!%22%22.equals(param.toString()));%0A    %7D%0A%0A%7D%0A

Add JUnit test for Param class in rest modeling module.