test_class.declarator: studentService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private StudentService studentService;
test_class.type: StudentService
test_class.var_name: studentService
test_class.file: vaadin-demo/src/test/java/bd/edu/seu/vaadindemo/service/StudentServiceTest.java
test_class.identifier: StudentServiceTest
test_case.body: @Test
      public void testFindById() {
          Student expectedStudent = new Student(221l, "Sherlock Holmes", LocalDate.of(1981, Month.JULY, 31));
          Student actualStudent = studentService.findById(221l);
          assertEquals(expectedStudent, actualStudent);
      }
test_case.class_method_signature: StudentServiceTest.testFindById()
test_case.full_signature: @Test public void testFindById()
test_case.identifier: testFindById
test_case.invocations: of findById assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFindById()
focal_class.declarator: studentRepository
focal_class.modifier: private
focal_class.original_string: private StudentRepository studentRepository;
focal_class.type: StudentRepository
focal_class.var_name: studentRepository
focal_class.declarator: baseUrl
focal_class.modifier: @Value("${baseUrl}/students")
      private
focal_class.original_string: @Value("${baseUrl}/students")
      private String baseUrl;
focal_class.type: String
focal_class.var_name: baseUrl
focal_class.file: vaadin-demo/src/main/java/bd/edu/seu/vaadindemo/service/StudentService.java
focal_class.identifier: StudentService
focal_class.interfaces: implements GenericService<Student, Long>
focal_class.class_method_signature: StudentService.StudentService(StudentRepository studentRepository)
focal_class.full_signature: public  StudentService(StudentRepository studentRepository)
focal_class.identifier: StudentService
focal_class.modifiers: public
focal_class.parameters: (StudentRepository studentRepository)
focal_class.signature:  StudentService(StudentRepository studentRepository)
focal_class.class_method_signature: StudentService.findById(Long id)
focal_class.full_signature: public Student findById(Long id)
focal_class.identifier: findById
focal_class.modifiers: public
focal_class.parameters: (Long id)
focal_class.return: Student
focal_class.signature: Student findById(Long id)
focal_class.class_method_signature: StudentService.findAll()
focal_class.full_signature: public List<Student> findAll()
focal_class.identifier: findAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Student>
focal_class.signature: List<Student> findAll()
focal_class.class_method_signature: StudentService.save(Student student)
focal_class.full_signature: public Student save(Student student)
focal_class.identifier: save
focal_class.modifiers: public
focal_class.parameters: (Student student)
focal_class.return: Student
focal_class.signature: Student save(Student student)
focal_class.class_method_signature: StudentService.delete(Student student)
focal_class.full_signature: public void delete(Student student)
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: (Student student)
focal_class.return: void
focal_class.signature: void delete(Student student)
focal_method.body: public Student findById(Long id) {
          System.out.printf("findById Base URL: [%s]\n", baseUrl);
          RestTemplate restTemplate = new RestTemplate();
          ResponseEntity<Student> response = restTemplate.exchange(
                  baseUrl + "/" + id,
                  HttpMethod.GET,
                  null,
                  Student.class);
          Student student = response.getBody();
          System.out.println(student);
          return student;
      }
focal_method.class_method_signature: StudentService.findById(Long id)
focal_method.full_signature: public Student findById(Long id)
focal_method.identifier: findById
focal_method.invocations: printf exchange getBody println
focal_method.modifiers: public
focal_method.parameters: (Long id)
focal_method.return: Student
focal_method.signature: Student findById(Long id)