Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
V
- validateAsStaticClass(Class<?>) - Method in class org.tquadrat.foundation.testutil.TestBaseClass
-
Validates whether a class is really a static class.
A class is static when it has the following characteristics: The class is final. All methods are static. Only the default constructor may exists, this has to be private, and it has to throw anError
on invocation. If a test fails, the result is written toSystem.out
.
The method will not check for the@UtilityClass
annotation as this has only the retention levelSOURCE
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form