CompanyService { public String add(Company companyDto) { Company company = new Company(); company.setName(companyDto.getName()); company.setAddress(companyDto.getAddress()); company.setHeadcount(companyDto.getHeadcount()); company.setStatus(Status.OPEN); Company result = companyRepository.save(company); return result.getId(); }  String add(Company companyDto); void delete(String id); void update(String id, Company companyDto); List<Company> list(); Company findById(String id); Company findByName(String name); List<Company> findByAddress(String address); String mock();  }
@Test(enabled = false) public void testAdd() { Company companyDto = new Company(); companyDto.setName("plantlink"); companyDto.setAddress("westlake"); companyDto.setHeadcount(2); String id = companyService.add(companyDto); Assert.assertNotNull(id); }