src/test/java/de/gedoplan/seminar/jpa/exercise/Exercise04Test.java
@@ -49,7 +49,7 @@ @MethodSource("getTestDataHighway") void test03_checkJunctionsAssignedToHighway(Integer highwayId, Integer countJunctions) throws Exception { mockMvc.perform(get("/highways/{id}",highwayId)) .andExpect(jsonPath("$.name",is(countJunctions))); .andExpect(jsonPath("$.junctions.size()",is(countJunctions))); }