StudentServiceRs { @GET @Path("/nbStudents") @Produces({ "application/json" }) public String getNbStudent() { return "{\"nbStudents\":\"" + service.getNbStudent() + "\"}"; }  @GET @Path("/nbStudents") @Produces({ "application/json" }) String getNbStudent(); @GET @Path("/all") @Produces({ "application/json" }) Response getAll(); @GET @Path("/byStudentId/{studentId}") @Produces({ "application/json" }) Response getStudentsByStudentId(
			@NotNull @Digits(integer = 7, fraction = 0) @PathParam("studentId") String studentId); @PUT @Path("/add") @Produces({ "application/json" }) Response add(@NotNull Student student); @POST @Path("/update/{studentId}") @Produces({ "application/json" }) Response update(@NotNull @Digits(integer = 7, fraction = 0) @PathParam("studentId") String studentId,
			@NotNull Student student);  }
@Test public void shouldNbStudentReturnTheCurrentNbOfStudents() { String result = sut.getNbStudent(); System.out.println(result); Assert.assertTrue(result.contains("nbStudents")); }