Пример #1
0
 @Test
 public void testGetAllPerson() {
   for (Person person : personService.getAllPerson()) {
     System.out.println(person.getId() + " " + person.getName());
   }
 }
Пример #2
0
 @Test
 public void testGetPerson() {
   Person person = personService.getPerson(1);
   System.out.println(person.getId() + " " + person.getName());
 }