@Test
public void testInvalidApplicationConfig() {

    ApplicationConfig config = new ApplicationConfig();
    try {
        configRepository.merge(config);
        fail("persisted config without application name");
    } catch (RuntimeException e) {
        // test passed
    }
}