Migration complète vers PrimeFaces Freya - Corrections des incompatibilités et intégration de primefaces-freya-extension
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package dev.lions.user.manager.validation;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Modifier;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class ValidationConstantsTest {
|
||||
|
||||
@Test
|
||||
void testPrivateConstructor() throws Exception {
|
||||
Constructor<ValidationConstants> constructor = ValidationConstants.class.getDeclaredConstructor();
|
||||
assertTrue(Modifier.isPrivate(constructor.getModifiers()));
|
||||
constructor.setAccessible(true);
|
||||
ValidationConstants instance = constructor.newInstance();
|
||||
assertNotNull(instance);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user