use of ch.jalu.injector.testing.BeforeInjecting in project AuthMeReloaded by AuthMe.
the class HelpMessagesServiceTest method initializeHandler.
@BeforeInjecting
@SuppressWarnings("unchecked")
public void initializeHandler() {
MessageFileHandler handler = new MessageFileHandler(getJarFile(TEST_FILE), "messages/messages_en.yml", null);
given(messageFileHandlerProvider.initializeHandler(any(Function.class))).willReturn(handler);
}
Aggregations