@Test
public void testDockerfileWithNoTag() {

    gitHubUtil = mock(GitHubUtil.class);
    dockerfileGitHubUtil = new DockerfileGitHubUtil(gitHubUtil);
    StringBuilder stringBuilder = new StringBuilder();
    String img = "image";
    String tag = "7357";
    dockerfileGitHubUtil.changeIfDockerfileBaseImageLine(img, tag, stringBuilder, "hello");
    dockerfileGitHubUtil.changeIfDockerfileBaseImageLine(img, tag, stringBuilder, "FROM image");
    dockerfileGitHubUtil.changeIfDockerfileBaseImageLine(img, tag, stringBuilder, "world");
    dockerfileGitHubUtil.changeIfDockerfileBaseImageLine(img, tag, stringBuilder, "this is a test");
    assertEquals(stringBuilder.toString(), "hello\nFROM image:7357\nworld\nthis is a test\n");
}