The first stage that we will implement is the unit testing stage. In the beginning, we will add a simple unit test in the same way that we did in Chapter 5, Testing Your Services with Arquillian. We have to extend pom.xml:
(...) <dependencies> (...) <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>${version.postgresql}</version> </dependency> //1 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${version.junit}</version> <scope>test</scope> </dependency> //2 <dependency> <groupId>org.jboss.arquillian.junit</groupId> <artifactId>arquillian-junit-container</artifactId> <scope>test</scope> </dependency> //3 <dependency> <groupId>org.wildfly.swarm</groupId> ...