Interface BreakableCollection.WithProvider<E>
- Type Parameters:
E
- element type
- All Superinterfaces:
CollectionProviderSupport<E,
,BreakableCollection<E>> ElementProviderSupport<E>
,ProviderSupport<BreakableCollection<E>>
- Enclosing class:
BreakableCollection<E>
public static interface BreakableCollection.WithProvider<E>
extends CollectionProviderSupport<E,BreakableCollection<E>>
Mixin interface that adds an implementation of the
provider()
method that provides instances of
BreakableCollection
that do not have any breaks applied.- Since:
- 1.0.0
- Author:
- evanbergstrom
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull CollectionProvider
<E, BreakableCollection<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,
BreakableCollection<E>> - Specified by:
provider
in interfaceProviderSupport<E>
- Returns:
- a collection provider.
-