assertClassNotNull

public static void assertClassNotNull(Class<? extends Object> theClass, String className)(source)

Tests whether the class instance is not null and fails with a proper message if it is null.

Parameters

theClass

the Class

className

the Class Name for the error Message