jdave
Class ExpectedNoThrow<T>

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

public class ExpectedNoThrow<T>
extends java.lang.Object

Author:
Pekka Enberg

Constructor Summary
ExpectedNoThrow(ExpectedException<T> expectation)
           
 
Method Summary
 java.lang.String error(java.lang.Throwable t)
           
 boolean matches(java.lang.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(java.lang.Throwable t)

error

public java.lang.String error(java.lang.Throwable t)


Copyright © 2008. All Rights Reserved.