Interface WithArrayList<E>
- Type Parameters:
E
- the element type for the collection being tested.
- All Superinterfaces:
CollectionProviderSupport<E,
,ArrayList<E>> ElementProviderSupport<E>
,ProviderSupport<ArrayList<E>>
Mixing for a collection contract class that implements a collection provider for instances of ArrayList.
public class ArrayListTest extends AbstractTest implements ListContract<Integer, ArrayList<Integer>>
WithArrayList<Integer>, WithIntegerElement {
- Since:
- 1.0
- Author:
- evanbergstrom
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull CollectionProvider
<E, ArrayList<E>> provider()
Returns a collection provider that can be used to create instances of the collection class being tested.Methods inherited from interface org.soliscode.test.contract.support.ElementProviderSupport
elementProvider
-
Method Details
-
provider
Description copied from interface:CollectionProviderSupport
Returns a collection provider that can be used to create instances of the collection class being tested.- Specified by:
provider
in interfaceCollectionProviderSupport<E,
ArrayList<E>> - Specified by:
provider
in interfaceProviderSupport<E>
- Returns:
- an
ArrayList
collection provider.
-