Interface ProviderSupport<T>
- Type Parameters:
T
- the type of the object being provided.
- All Known Subinterfaces:
AddAllContract<E,
,C> AddAtPositionContract<E,
,L> AddContract<E,
,C> AddFirstContract<E,
,C> AddLastContract<E,
,C> BreakableCollection.WithProvider<E>
,BreakableIterable.WithProvider<E>
,ClearContract<E,
,C> CollectionContract<E,
,C> CollectionContractSupport<E,
,C> CollectionProviderSupport<E,
,C> ContainsAllContract<E,
,C> ContainsContract<E,
,C> ContractSupport<T>
,EqualsContract<T>
,ForEachContract<E,
,I> GetContract<E,
,L> GetFirstContract<E,
,C> GetLastContract<E,
,C> HashCodeContract<T>
,IndexOfContract<E,
,L> IntegerContract<T>
,IntegerSupport<T>
,IsEmptyContract<E,
,C> IterableContract<E,
,I> IteratorContract<E,
,I> LastIndexOfContract<E,
,L> ListAddContract<E,
,L> ListContract<E,
,L> ListToArrayContract<E,
,L> NumberSupport<T>
,ObjectContract<T>
,RemoveAllContract<E,
,C> RemoveAtPositionContract<E,
,L> RemoveContract<E,
,C> RemoveFirstContract<E,
,C> RemoveIfContract<E,
,C> RemoveLastContract<E,
,C> ReplaceAllContract<E,
,L> RetainAllContract<E,
,C> ReversedContract<E,
,C> SequencedCollectionContract<E,
,C> SetContract<E,
,L> SizeContract<E,
,C> SortContract<E,
,L> SpliteratorContract<E,
,I> StreamContract<E,
,C> SubListContract<E,
,L> ToArrayContract<E,
,C> ToStringContract<T>
,WithArrayList<E>
,WithDouble
,WithInteger
,WithString
public interface ProviderSupport<T>
Interface for contract classes that need an object provider.
- Since:
- 1.0
- Author:
- evanbergstrom
-
Method Summary
Modifier and TypeMethodDescription@NotNull ObjectProvider
<T> provider()
Returns an object provider that can be used to create instances of the class being tested.
-
Method Details
-
provider
Returns an object provider that can be used to create instances of the class being tested.- Returns:
- an object provider.
-