### Question:
FromInstruction { public static boolean isFromInstruction(String dockerFileLine) { if (StringUtils.isNotBlank(dockerFileLine)) { return dockerFileLine.trim().startsWith(FromInstruction.NAME); } return false; } FromInstruction(String fromInstructionLine); private  FromInstruction(String baseImageName, String tag, List<String> additionalParts, String comments); static boolean isFromInstructionWithThisImageAndOlderTag(String lineInFile, String imageName, String imageTag); FromInstruction getFromInstructionWithNewTag(String newTag); static boolean isFromInstruction(String dockerFileLine); @Override String toString(); String getBaseImageName(); boolean hasBaseImage(String imageToFind); boolean hasTag(); boolean hasADifferentTag(String expectedTag); String getTag(); List<String> getAdditionalParts(); boolean hasComments(); String getComments();  }### Answer:
@Test(dataProvider = "isFromInstructionData") public void testLineToSplit(String input, boolean expectedResult) { assertEquals(FromInstruction.isFromInstruction(input), expectedResult); }