diff --git a/src/test/java/com/enofex/taikai/Usage.java b/src/test/java/com/enofex/taikai/Usage.java index 20cd4f0..6522a67 100644 --- a/src/test/java/com/enofex/taikai/Usage.java +++ b/src/test/java/com/enofex/taikai/Usage.java @@ -31,6 +31,9 @@ public static void main(String[] args) { .classesShouldNotBeAnnotatedWithDisabled() .methodsShouldNotBeAnnotatedWithDisabled())) .java(java -> java + .noUsageOfDeprecatedAPIs() + .methodsShouldNotThrowGenericException() + .utilityClassesShouldBeFinalAndHavePrivateConstructor() .imports(imports -> imports .shouldHaveNoCycles() .shouldNotImport("..shaded..")