Skip navigation links
A B C D H L M T V 

A

assertRaises(String, Block, Class<? extends Throwable>) - Static method in class com.github.marschall.junitlambda.LambdaAssert
Asserts that the evaluation of a block throws an exception.
assertRaises(Block, Class<? extends Throwable>) - Static method in class com.github.marschall.junitlambda.LambdaAssert
Asserts that the evaluation of a block throws an exception.

B

Block - Interface in com.github.marschall.junitlambda
A piece of code to be executed.

C

com.github.marschall.junitlambda - package com.github.marschall.junitlambda
 

D

describeTo(Description) - Method in class com.github.marschall.junitlambda.HasCause
 
describeTo(Description) - Method in class com.github.marschall.junitlambda.HasMessage
 
describeTo(Description) - Method in class com.github.marschall.junitlambda.ThrowsException
 

H

HasCause<T extends Throwable> - Class in com.github.marschall.junitlambda
Tests if the argument is an exception that has a cause.
hasCause(Matcher<C>) - Static method in class com.github.marschall.junitlambda.HasCause
Creates a matcher that matches if the examined Throwable has a cause that is matched by the specified causeMatcher.
hasCause(Class<? extends Throwable>) - Static method in class com.github.marschall.junitlambda.HasCause
Creates a matcher that matches if the examined Throwable has a cause that is an instance of the given causeClass.
HasMessage<T extends Throwable> - Class in com.github.marschall.junitlambda
Tests if the argument is an exception that has a cause.
hasMessage(Matcher<String>) - Static method in class com.github.marschall.junitlambda.HasMessage
Creates a matcher that matches if the examined Throwable has a message that is matched by the specified messageMatcher.
hasMessage(String) - Static method in class com.github.marschall.junitlambda.HasMessage
Creates a matcher that matches if the examined Throwable has a message that is equal to the given message.

L

LambdaAssert - Class in com.github.marschall.junitlambda
A set of assertion methods useful for writing exception tests.

M

matchesSafely(T) - Method in class com.github.marschall.junitlambda.HasCause
 
matchesSafely(T) - Method in class com.github.marschall.junitlambda.HasMessage
 
matchesSafely(Block) - Method in class com.github.marschall.junitlambda.ThrowsException
 

T

ThrowsException<T extends Throwable> - Class in com.github.marschall.junitlambda
Tests if the argument block throws an exception.
throwsException(Class<T>) - Static method in class com.github.marschall.junitlambda.ThrowsException
Creates a matcher that matches if the examined Block throws an exception of the specified expectedExceptionClass.
throwsException(Class<T>, Matcher<T>) - Static method in class com.github.marschall.junitlambda.ThrowsException
Creates a matcher that matches if the examined Block throws an exception of the specified expectedExceptionClass and is matched by the specified exceptionMatcher.
throwsException(Class<T>, Matcher<T>, Matcher<T>...) - Static method in class com.github.marschall.junitlambda.ThrowsException
Creates a matcher that matches if the examined Block throws an exception of the specified expectedExceptionClass and is matched by the specified exceptionMatcher and additionalExceptionMatchers.

V

value() - Method in interface com.github.marschall.junitlambda.Block
Evaluate the code.
A B C D H L M T V 
Skip navigation links

Copyright © 2013–2015. All rights reserved.