BAEL-2435 Change aggregate package

-Change aggregate package to commandmodel package per best practice
-Move the aggregate test to the same package for the test directory
This commit is contained in:
Steven van Beelen 2018-12-18 14:52:54 +01:00
parent 3553fb7506
commit 3e3210a803
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.axon.aggregates;
package com.baeldung.axon.commandmodel;
import static org.axonframework.modelling.command.AggregateLifecycle.apply;

View File

@ -1,4 +1,4 @@
package com.baeldung.axon;
package com.baeldung.axon.commandmodel;
import java.util.UUID;
@ -6,7 +6,6 @@ import org.axonframework.test.aggregate.AggregateTestFixture;
import org.axonframework.test.aggregate.FixtureConfiguration;
import org.junit.*;
import com.baeldung.axon.aggregates.MessagesAggregate;
import com.baeldung.axon.commands.CreateMessageCommand;
import com.baeldung.axon.commands.MarkReadMessageCommand;
import com.baeldung.axon.events.MessageCreatedEvent;