
Makes them a lot more readable IMO, and also enables @Autowiring from the context into the test case (sweeet). I added @DirtiesContext to all of them as well to be on the safe side, but possbly that can be optimized in some way as well.
Spring Boot Simple Sample
You can build this sample using Maven (>3) or Gradle (1.6).
With Maven:
$ mvn package
$ java -jar target/*.jar
The app prints a Hello message on the console.
With gradle:
$ gradle build
$ java -jar build/libs/*.jar