(chore) cleanup

This commit is contained in:
Andreas Penski (init) 2020-08-21 10:12:47 +02:00
parent 7a8635eba2
commit fff5c256fa
2 changed files with 5 additions and 2 deletions

View file

@ -58,4 +58,9 @@ public class DefaultNamingStrategyTest {
strategy.setPrefix(null);
assertThat(strategy.createName("test.ext")).isEqualTo("test.ext-postfix.xml");
}
@Test(expected = IllegalArgumentException.class)
public void testEmptyInput() {
new DefaultNamingStrategy().createName(null);
}
}