A G I S U V 

A

aClassWhoseSuperClass(Matcher<? extends Class<? extends U>>) - Static method in class uk.org.lidalia.test.Assert
Facilitates making an assertion about the superclass of a Class.
aCollectionWhoseSize(Matcher<Integer>) - Static method in class uk.org.lidalia.test.Assert
Facilitates making an assertion about the size of a Collection.
aListWhoseElementAtIndex(Integer, Matcher<E>) - Static method in class uk.org.lidalia.test.Assert
Facilitates making an assertion about the element at a given index of a List.
always(ReadableInstant) - Static method in class uk.org.lidalia.test.StaticTimeRule
 
alwaysNow() - Static method in class uk.org.lidalia.test.StaticTimeRule
 
alwaysStartOfEpoch() - Static method in class uk.org.lidalia.test.StaticTimeRule
 
apply(Statement, Description) - Method in class uk.org.lidalia.test.StaticTimeRule
 
apply(Statement, Description) - Method in class uk.org.lidalia.test.SystemOutputRule
 
Assert - Class in uk.org.lidalia.test
Utility Hamcrest matchers for unit test assertions.

G

getInstant() - Method in class uk.org.lidalia.test.StaticTimeRule
 
getSystemErr() - Method in class uk.org.lidalia.test.SystemOutputRule
 
getSystemOut() - Method in class uk.org.lidalia.test.SystemOutputRule
 

I

isAMemberWithModifier(Modifier) - Static method in class uk.org.lidalia.test.Assert
Asserts that a given Member has a given Modifier.
isNotInstantiable() - Static method in class uk.org.lidalia.test.Assert
Asserts that a class is not instantiable - it exists only for its static members.

S

ShouldThrow - Class in uk.org.lidalia.test
Static functions for returning an expected type of Throwable from a block of code for unit testing purposes.
shouldThrow(Class<ThrowableType>, Runnable) - Static method in class uk.org.lidalia.test.ShouldThrow
Asserts that a code block throws a Throwable of the given type and returns it to permit further assertions on the Throwable instance returned.
shouldThrow(Class<ThrowableType>, String, Runnable) - Static method in class uk.org.lidalia.test.ShouldThrow
Asserts that a code block throws a Throwable of the given type and returns it to permit further assertions on the Throwable instance returned.
StaticTimeRule - Class in uk.org.lidalia.test
A JUnit rule that sets the time returned by the Joda Time classes to a static time for the duration of the test.
SystemOutputRule - Class in uk.org.lidalia.test
A JUnit rule that facilitates testing code that prints to System.out or System.err.
SystemOutputRule() - Constructor for class uk.org.lidalia.test.SystemOutputRule
 

U

uk.org.lidalia.test - package uk.org.lidalia.test
 
uniqueValueFor(Class<T>) - Static method in class uk.org.lidalia.test.Values
Returns a best effort at a unique value for a given type.

V

Values - Class in uk.org.lidalia.test
Static utility functions for returning values for testing.
A G I S U V 

Copyright © 2013. All Rights Reserved.