June 2014
Intermediate to advanced
284 pages
6h 9m
English
In this recipe, we will add AssertJ to your classpath (or check if it's already there) and take a look at a test that should show the concept that lies behind the AssertJ library.
First, let's check the differences between the different AssertJ JAR files:
assertj-core: This file contains the vast majority of assertions (there is rarely a need to have any additional dependencies)assertj-guava: This file contains additional assertions for some of the Guava library related classesassertj-neo4j: This file contains additional assertions for the Neo4j graph database related classesassertj-joda-time: This file contains additional assertions for the JodaTime library related classesassertj-assertions-generator-maven-plugin ...