@@ -0,0 +1,2087 @@
+package atg.tools.ant.types;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.rules.TemporaryFolder;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.Parameterized;%0A%0Aimport java.io.File;%0Aimport java.util.Arrays;%0Aimport java.util.Collection;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A * @author msicker%0A * @version 2.0%0A */%0A@RunWith(Parameterized.class)%0Apublic class AtgInstallationTest %7B%0A%0A    @Parameterized.Parameters%0A    public static Collection%3CObject%5B%5D%3E data() %7B%0A        return Arrays.asList(%0A                new Object%5B%5D%5B%5D%7B%0A                        %7B %22Test/Module%22, %22Test.Module%22 %7D,%0A                        %7B %22Module%22, %22Module%22 %7D,%0A                        %7B %22Longer/Test/Versioned%22, %22Longer.Test.Versioned%22 %7D,%0A                        %7B %22DAF/Endeca/Builder/What%22, %22DAF.Endeca.Builder.What%22 %7D%0A                %7D%0A        );%0A    %7D%0A%0A    private final String pathToModule;%0A    private final String nameOfModule;%0A%0A    public AtgInstallationTest(final String pathToModule, final String nameOfModule) %7B%0A        this.pathToModule = pathToModule;%0A        this.nameOfModule = nameOfModule;%0A    %7D%0A%0A    @Rule%0A    public TemporaryFolder temp = new TemporaryFolder();%0A%0A    private AtgInstallation atg;%0A%0A    private File home;%0A%0A    private File moduleLocation;%0A%0A    @Before%0A    public void setUp()%0A            throws Exception %7B%0A        atg = new AtgInstallation();%0A        home = temp.newFolder();%0A        atg.setHome(home);%0A        moduleLocation = new File(home, pathToModule);%0A    %7D%0A%0A    @Test%0A    public void testGetHome()%0A            throws Exception %7B%0A        assertThat(atg.getHome(), is(equalTo(home)));%0A    %7D%0A%0A    @Test%0A    public void testGetModule()%0A            throws Exception %7B%0A        final Module module = atg.getModule(nameOfModule);%0A        assertThat(module.getBaseDir(), is(equalTo(home)));%0A        assertThat(module.getModule(), is(equalTo(nameOfModule)));%0A        assertThat(module.getFile(), is(equalTo(moduleLocation)));%0A    %7D%0A%7D%0A

Add unit test for AtgInstallation.