org.jbehave
Class Ensure

java.lang.Object
  extended by org.jbehave.Ensure

public class Ensure
extends java.lang.Object

Collection of static utility ensure methods that use Hamcrest matchers

Author:
Elizabeth Keogh, Mauro Talevi

Constructor Summary
Ensure()
           
 
Method Summary
static void ensureThat(boolean matches)
           
static
<T> void
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
 

Constructor Detail

Ensure

public Ensure()
Method Detail

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.