jdave
Class ExpectedNoThrow<T>

java.lang.Object
  extended by jdave.ExpectedNoThrow<T>

public class ExpectedNoThrow<T>
extends Object

Author:
Pekka Enberg

Constructor Summary
ExpectedNoThrow(ExpectedException<T> expectation)
           
 
Method Summary
 String error(Throwable t)
           
 boolean matches(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedNoThrow

public ExpectedNoThrow(ExpectedException<T> expectation)
Method Detail

matches

public boolean matches(Throwable t)

error

public String error(Throwable t)


Copyright © 2010. All Rights Reserved.