Package org.soliscode.test.contract.support
package org.soliscode.test.contract.support
Classes that support testing with contracts.
- Since:
- 1.0
- Author:
- evanbergstrom
-
InterfacesClassDescriptionCollectionContractSupport<E,
C extends Iterable<E>> The base interface for all classes that testCollection
methods.CollectionProviderSupport<E,C extends Iterable<E>> Interface for contract classes that need a collection provider.Common interface for contract classes.Interface for contract classes that test iterables or collections with elements.IntegerSupport<T extends Number>Common interface for contracts that test classes that implement theNumber
interface and have integer values (i.e. Short, Integer, Long, etc.).NumberSupport<T extends Number>Common interface for contracts that test classes that implement theNumber
interface.Interface for contract classes that need an object provider.Mixing for a collection contract class that implements a collection provider for instances of ArrayList.Provides an implementation of theWithDouble.provider()
method that provides instances ofDouble
.Provides an implementation of theWithInteger.provider()
method that provides instances ofInteger
.Mixing for a collection contract class that implements a element provider for instances ofInteger
.Provides an implementation of theprovider()
method that provides instances ofString
.