Yes, JVM assertions need to be enabled to trigger. This is the default when running tests (maven or gradle).