@Test(dataProvider = "hasNoChangesData")
public void testHasNoChanges(String contentText, String imageName, String imageTag, boolean expectedResult) throws IOException {

    DockerfileGitHubUtil dockerfileGitHubUtil = mock(DockerfileGitHubUtil.class);
    GHRepository repo = mock(GHRepository.class);
    ForkableRepoValidator validator = new ForkableRepoValidator(dockerfileGitHubUtil);
    GHContent content = mock(GHContent.class);
    InputStream inputStream = new ByteArrayInputStream(contentText.getBytes());
    GitForkBranch gitForkBranch = new GitForkBranch(imageName, imageTag, null);
    when(content.read()).thenReturn(inputStream);
    when(repo.isArchived()).thenReturn(false);
    assertEquals(validator.hasNoChanges(content, gitForkBranch), expectedResult);
}