### Question:
CompileErrorValidator { public static CompileErrorValidator getInstance() { return INSTANCE; } CompileErrorValidator(final ListingParser listingParser); static CompileErrorValidator getInstance(); void validate(final File listingFile);  }### Answer:
@Test public void testGetInstance() { final CompileErrorValidator instanceA = CompileErrorValidator.getInstance(); final CompileErrorValidator instanceB = CompileErrorValidator.getInstance(); assertThat(instanceA).isNotNull(); assertThat(instanceA).isSameAs(instanceB); }