@@ -0,0 +1,1171 @@
+package uk.gov.register.views;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.Parameterized;%0Aimport org.junit.runners.Parameterized.Parameters;%0Aimport org.mockito.Mock;%0Aimport uk.gov.register.resources.RequestContext;%0A%0Aimport java.util.Arrays;%0Aimport java.util.Collection;%0A%0Aimport static org.hamcrest.core.IsEqual.equalTo;%0Aimport static org.junit.Assert.assertThat;%0A%0A@RunWith(Parameterized.class)%0Apublic class DownloadPageViewTest %7B%0A%0A    @Mock%0A    private RequestContext mockRequestContext;%0A    private Boolean enableResourceDownload;%0A%0A    public DownloadPageViewTest(Boolean enableResourceDownload) %7B%0A        this.enableResourceDownload = enableResourceDownload;%0A    %7D%0A%0A    @Parameters%0A    public static Collection%3CBoolean%3E data() %7B%0A        return Arrays.asList(true, false);%0A    %7D%0A%0A    @Test%0A    public void getDownloadEnabled_returnsTheSameValuePassedInConstructor() throws Exception %7B%0A        DownloadPageView downloadPageView = new DownloadPageView(mockRequestContext, () -%3E %22test.register.gov.uk%22, null , enableResourceDownload);%0A        assertThat(downloadPageView.getDownloadEnabled(), equalTo(enableResourceDownload));%0A    %7D%0A%7D%0A

Add DownloadPageView tests