public final class CommonAssertions
extends java.lang.Object
Usage:
import static com.github.protobufel.test.common.misc.CommonAssertions;
class MyTest {
...
@Test
public void testSomething() {
assertThatType(MyUtilityClass.class).isUtilityClass();
}
...
}
| Modifier and Type | Method and Description |
|---|---|
static <T> UtilityClassAssert |
assertThatType(java.lang.Class<? extends T> actual)
Initiates the flow of the utility class assertions.
|
public static <T> UtilityClassAssert assertThatType(java.lang.Class<? extends T> actual)
actual - the class to test for being a proper utility class