- assertException(Class<? extends Throwable>, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class.
- assertException(Class<? extends Throwable>, String, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class and
message.
- assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Throwable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert that a given throwable matches the expected class, cause and
message.
- assertException(Class<? extends Throwable>, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception thrown by a supplying function.
- assertException(Class<? extends Throwable>, String, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception and message thrown by a supplying
function.
- assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Supplier<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception, message and cause thrown by a
supplying function.
- assertException(Class<? extends Throwable>, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception thrown by a given procedure, that is,
a function that accepts no arguments and returns void (e.g., a Runnable's run()
method).
- assertException(Class<? extends Throwable>, String, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception and message thrown by a given
procedure, that is, a function that accepts no arguments and returns void (e.g., a
Runnable's run() method).
- assertException(Class<? extends Throwable>, String, Class<? extends Throwable>, Runnable) - Static method in class net.obvj.junit.utils.TestUtils
-
A utility method to assert the expected exception, message and cause thrown by a given
procedure, that is, a function that accepts no arguments and returns void (e.g., a
Runnable's run() method).
- assertInstantiationNotAllowed(Class<?>) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertInstantiationNotAllowed(Class<?>, Class<? extends Throwable>) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertInstantiationNotAllowed(Class<?>, Class<? extends Throwable>, String) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that no instances of an utility class are created.
- assertStringContains(String, String...) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that the given test string contains all of the expected strings.
- assertStringDoesNotContain(String, String...) - Static method in class net.obvj.junit.utils.TestUtils
-
Tests that the given test string does not contain any of the expected strings.