assume assert

Assume will only run when the assumption is true. Will be skipped if it false.

assumes that the resource is present, (so the test will not run on customers that do not have that resource,) and then ...

assume can be used to disable tests if the condition is false

assumeTrue(boolean assumption, String message)

Assert will run normally if true. In case of false assert, it gives predefined error message.

asserts that everything about the resource is okay (so on the customer that does actually have the resource, the test makes sure that the resource is as it should be.)

assertTrue(boolean condition, String message)

Other testing frameworks

https://assertj.github.io/doc/

https://truth.dev/

https://hamcrest.org/JavaHamcrest/tutorial