Incorporated review comments from editor.

This commit is contained in:
CHANDRAKANT Kumar 2020-05-16 01:46:02 +05:30
parent ab3336e9b0
commit 3977ef96c6
34 changed files with 8 additions and 9 deletions

View File

@ -2,12 +2,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>java-es-cqrs</artifactId>
<artifactId>cqrs-es</artifactId>
<version>1.0-SNAPSHOT</version>
<name>java-es-cqrs</name>
<name>cqrs-es</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<artifactId>patterns</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<properties>

View File

@ -40,7 +40,7 @@ public class ApplicationUnitTest {
}
@Test
public void testApplication() throws Exception {
public void givenCQRSApplication_whenCommandRun_thenQueryShouldReturnResult() throws Exception {
String userId = UUID.randomUUID()
.toString();
User user = null;

View File

@ -24,7 +24,7 @@ public class ApplicationUnitTest {
}
@Test
public void testApplication() throws Exception {
public void givenCRUDApplication_whenDataCreated_thenDataCanBeFetched() throws Exception {
UserService service = new UserService(repository);
String userId = UUID.randomUUID()
.toString();

View File

@ -26,7 +26,7 @@ public class ApplicationUnitTest {
}
@Test
public void testApplication() throws Exception {
public void givenCRUDApplication_whenDataCreated_thenDataCanBeFetched() throws Exception {
String userId = UUID.randomUUID()
.toString();

View File

@ -41,7 +41,7 @@ public class ApplicationUnitTest {
}
@Test
public void testApplication() throws Exception {
public void givenCQRSApplication_whenCommandRun_thenQueryShouldReturnResult() throws Exception {
String userId = UUID.randomUUID()
.toString();
List<Event> events = null;

View File

@ -21,6 +21,7 @@
<module>design-patterns-functional</module>
<module>design-patterns-structural</module>
<module>dip</module>
<module>cqrs-es</module>
<module>front-controller</module>
<module>intercepting-filter</module>
<module>solid</module>

View File

@ -568,7 +568,6 @@
<module>rxjava-operators</module>
<module>atomikos</module>
<module>java-es-cqrs</module>
</modules>
</profile>
@ -1084,7 +1083,6 @@
<module>rxjava-operators</module>
<module>atomikos</module>
<module>java-es-cqrs</module>
</modules>
</profile>