_assert_ won't work without enabling assertions on the JVM. Some frameworks/IDEs do that automatically, but it's a better practice to use the Assert utilities from JUnit.
Don't let you be fooled by Infinispan: they are wrong :)