org.jbehave
Class Ensure
java.lang.Object
org.jbehave.Ensure
public class Ensure
- extends Object
Collection of static utility ensure methods that use Hamcrest matchers
- Author:
- Elizabeth Keogh, Mauro Talevi
Method Summary |
static void |
ensureThat(boolean matches)
|
static
|
ensureThat(T actual,
org.hamcrest.Matcher<T> matcher)
|
static boolean |
not(boolean matches)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ensure
public Ensure()
ensureThat
public static void ensureThat(boolean matches)
ensureThat
public static <T> void ensureThat(T actual,
org.hamcrest.Matcher<T> matcher)
not
public static boolean not(boolean matches)
Copyright © 2003-2010. All Rights Reserved.