Create event consistency test + test code cleanup

This commit is contained in:
ljacqu
2016-04-29 22:39:46 +02:00
parent 8d489efffd
commit 7f44ecdb40
5 changed files with 139 additions and 22 deletions
@@ -110,6 +110,11 @@ public class MigrationServiceTest {
verifyNoMoreInteractions(settings, dataSource, sha256);
}
@Test
public void shouldHaveHiddenEmptyConstructorOnly() {
TestHelper.validateHasOnlyPrivateEmptyConstructor(MigrationService.class);
}
private static PlayerAuth authWithNickAndHash(String nick, String hash) {
return PlayerAuth.builder()
.name(nick)