@@ -0,0 +1,2680 @@
+package org.slc.sli.modeling.rest;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.ArrayList;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A/**%0A * JUnit test for Application class.%0A *%0A * @author wscott%0A *%0A */%0Apublic class ApplicationTest %7B%0A    private Application application; // class under test%0A%0A    private static final ArrayList%3CDocumentation%3E DOC = new ArrayList%3CDocumentation%3E(0);%0A    private static final Grammars GRAMMARS = new Grammars(DOC, new ArrayList%3CInclude%3E(0));%0A    private static final Resources RESOURCES = new Resources(%22base%22, DOC, new ArrayList%3CResource%3E(0));%0A    private static final ArrayList%3CResourceType%3E RESOURCE_TYPES = new ArrayList%3CResourceType%3E(0);%0A    private static final ArrayList%3CMethod%3E METHODS = new ArrayList%3CMethod%3E(0);%0A    private static final ArrayList%3CRepresentation%3E REPRESENTATIONS = new ArrayList%3CRepresentation%3E(0);%0A%0A    @Before%0A    public void setup() throws Exception %7B%0A%0A        application = new Application(DOC, GRAMMARS, RESOURCES, RESOURCE_TYPES, METHODS, REPRESENTATIONS,%0A                REPRESENTATIONS);%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testNullResourceTypes() %7B%0A        new Application(DOC, GRAMMARS, RESOURCES, null, METHODS, REPRESENTATIONS, REPRESENTATIONS);%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testNullMethods() %7B%0A        new Application(DOC, GRAMMARS, RESOURCES, RESOURCE_TYPES, null, REPRESENTATIONS, REPRESENTATIONS);%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testNullRepresentations() %7B%0A        new Application(DOC, GRAMMARS, RESOURCES, RESOURCE_TYPES, METHODS, null, REPRESENTATIONS);%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testNullFaults() %7B%0A        new Application(DOC, GRAMMARS, RESOURCES, RESOURCE_TYPES, METHODS, REPRESENTATIONS, null);%0A    %7D%0A%0A    @Test%0A    public void testGetGrammars() %7B%0A        assertEquals(GRAMMARS, application.getGrammars());%0A    %7D%0A%0A    @Test%0A    public void testGetResources() %7B%0A        assertEquals(RESOURCES, application.getResources());%0A    %7D%0A%0A    @Test%0A    public void testGetResourceTypes() %7B%0A        assertEquals(RESOURCE_TYPES, application.getResourceTypes());%0A    %7D%0A%0A    @Test%0A    public void testGetMethods() %7B%0A        assertEquals(METHODS, application.getMethods());%0A    %7D%0A%0A    @Test%0A    public void testGetRepresentations() %7B%0A        assertEquals(REPRESENTATIONS, application.getRepresentations());%0A    %7D%0A%0A    @Test%0A    public void testGetFaults() %7B%0A        assertEquals(REPRESENTATIONS, application.getFaults());%0A    %7D%0A%0A    @Test%0A    public void testToString() %7B%0A        assertTrue(!%22%22.equals(application.toString()));%0A    %7D%0A%0A%7D%0A

Add JUnit test for Application class in rest modeling module.