public class UtilityClassChecker extends Object
| Constructor and Description | 
|---|
UtilityClassChecker()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
assertThatClassIsUtility(Class<?> clazz)
Assert that the given class adheres to the utility class rules. 
 | 
void | 
describeMismatch(org.hamcrest.Description description)
Describe why an error was reported. 
 | 
void | 
describeTo(org.hamcrest.Description description)
Describe the source object that caused an error, using a Hamcrest
 Matcher style interface. 
 | 
public void describeMismatch(org.hamcrest.Description description)
description - the Description object to use for reporting the
                    mismatchpublic void describeTo(org.hamcrest.Description description)
description - the Description object to use to report the "to"
                    objectpublic static void assertThatClassIsUtility(Class<?> clazz)
clazz - the class to checkAssertionError - if the class is not a valid
         utility class