### Question:
AbstractFormDefinitionHelper { public boolean supports(Path path) { return path.getFileName().endsWith("." + FormResourceTypeDefinition.EXTENSION); } AbstractFormDefinitionHelper(FormDefinitionSerializer serializer, IOService ioService, CommentedOptionFactory commentedOptionFactory); boolean supports(Path path); void postProcess(Path source, Path destination);  }### Answer:
@Test public void testSupports() { Assertions.assertThat(helper.supports(originalPath)) .isNotNull() .isTrue(); Path wrongPath = mock(Path.class); when(wrongPath.getFileName()).thenReturn("wrongh.path"); Assertions.assertThat(helper.supports(wrongPath)) .isNotNull() .isFalse(); }