Clean up warnings in tests

This commit is contained in:
Sam Brannen
2022-08-19 16:11:09 +02:00
parent 409ee9234d
commit 7c91776d3d

View File

@@ -27,6 +27,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
* Tests for {@link PersistenceManagedTypes}.
*
* @author Stephane Nicoll
* @since 6.0
*/
class PersistenceManagedTypesTests {
@@ -42,7 +43,7 @@ class PersistenceManagedTypesTests {
@Test
void createWithNullManagedClasses() {
assertThatIllegalArgumentException().isThrownBy(() -> PersistenceManagedTypes.of(null));
assertThatIllegalArgumentException().isThrownBy(() -> PersistenceManagedTypes.of((String[]) null));
}
@Test