org.axonframework.test
Class Fixtures
java.lang.Object
org.axonframework.test.Fixtures
public abstract class Fixtures
- extends Object
Utility class providing access to fixture instances in the Axon Test module.
- Since:
- 0.6
- Author:
- Allard Buijze
Method Summary |
static
|
newGivenWhenThenFixture(Class<T> aggregateType)
Returns a new given-when-then style test fixture in configuration mode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newGivenWhenThenFixture
public static <T extends EventSourcedAggregateRoot> FixtureConfiguration<T> newGivenWhenThenFixture(Class<T> aggregateType)
- Returns a new given-when-then style test fixture in configuration mode. See
FixtureConfiguration
for more detailed usage information.
- Type Parameters:
T
- The type of aggregate tested in the fixture- Parameters:
aggregateType
- The aggregate under test
- Returns:
- a new given-when-then style test fixture in configuration mode
Copyright © 2010-2016. All Rights Reserved.