com.tngtech.jgiven.impl.util
Class AssertionUtil
java.lang.Object
com.tngtech.jgiven.impl.util.AssertionUtil
public class AssertionUtil
- extends Object
A collection of methods to assert certain conditions.
If an asserted condition is false a JGivenInternalDefectException
is thrown.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertionUtil
public AssertionUtil()
assertNotNull
public static void assertNotNull(Object o)
assertNotNull
public static void assertNotNull(Object o,
String msg)
assertTrue
public static void assertTrue(boolean condition,
String msg)
Copyright © 2014 TNG Technology Consulting. All rights reserved.