@Test @MuteLogging @DisplayName("ignore invalid class names") void ignoreInvalidClassNames() { String invalidClassname = "non.existing.class.Name"; CommandHandlers spineModel = CommandHandlers .newBuilder() .addCommandHandlingType(invalidClassname) .build(); new ModelVerifier(project).verify(spineModel); }
void verify(CommandHandlers handlers) { ClassSet classSet = new ClassSet(projectClassLoader, handlers.getCommandHandlingTypeList()); reportNotFoundIfAny(classSet); DuplicateHandlerCheck.newInstance() .check(classSet.elements()); }
ModelVerifier implements Logging { void verify(CommandHandlers handlers) { ClassSet classSet = new ClassSet(projectClassLoader, handlers.getCommandHandlingTypeList()); reportNotFoundIfAny(classSet); DuplicateHandlerCheck.newInstance() .check(classSet.elements()); } }
ModelVerifier implements Logging { void verify(CommandHandlers handlers) { ClassSet classSet = new ClassSet(projectClassLoader, handlers.getCommandHandlingTypeList()); reportNotFoundIfAny(classSet); DuplicateHandlerCheck.newInstance() .check(classSet.elements()); } ModelVerifier(Project project); }
ModelVerifier implements Logging { void verify(CommandHandlers handlers) { ClassSet classSet = new ClassSet(projectClassLoader, handlers.getCommandHandlingTypeList()); reportNotFoundIfAny(classSet); DuplicateHandlerCheck.newInstance() .check(classSet.elements()); } ModelVerifier(Project project);  }
ModelVerifier implements Logging { void verify(CommandHandlers handlers) { ClassSet classSet = new ClassSet(projectClassLoader, handlers.getCommandHandlingTypeList()); reportNotFoundIfAny(classSet); DuplicateHandlerCheck.newInstance() .check(classSet.elements()); } ModelVerifier(Project project);   }