org.znerd.util.test
Class TestUtils

java.lang.Object
  extended by org.znerd.util.test.TestUtils

public class TestUtils
extends Object


Method Summary
static void testUtilityClassConstructor(Class<?> clazz)
          Tests if the specified utility class has a matching constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

testUtilityClassConstructor

public static final void testUtilityClassConstructor(Class<?> clazz)
                                              throws IllegalArgumentException,
                                                     TestFailedException
Tests if the specified utility class has a matching constructor. The following is checked:

Parameters:
clazz - The class to check, should not be null.
Throws:
IllegalArgumentException - if clazz == null.
TestFailedException - In case an issue is found.


Copyright © 2011-2012. All Rights Reserved.