use of io.spine.server.aggregate.given.AggregateRootTestEnv.AnAggregateRoot in project core-java by SpineEventEngine.
the class AggregateRootShould method pass_null_tolerance_test.
@Test
public void pass_null_tolerance_test() throws NoSuchMethodException {
final Constructor<AnAggregateRoot> ctor = AnAggregateRoot.class.getDeclaredConstructor(BoundedContext.class, String.class);
new NullPointerTester().setDefault(Constructor.class, ctor).setDefault(BoundedContext.class, boundedContext).testStaticMethods(AggregateRoot.class, NullPointerTester.Visibility.PACKAGE);
}
Aggregations