log.info(subsidiary);
}
@Test
public void addSubsidiaryServiceTest() {
Subsidiary subsidiary = new Subsidiary();
subsidiary.setCity("city");
subsidiary.setCountry("df");
List<Detail> details = (List<Detail>) detailService.getDetailById((long) 1);
subsidiary.setDetails(details);
subsidiary.setEmail("2@2.r");
Employee employee = employeeService.getEmployeeById((long) 1);
subsidiary.setEmployees((List<Employee>) employee);
subsidiary.setHouse((short) 3);
subsidiary.setHousing((short) 1);
subsidiary.setName("fd");
subsidiary.setPhone("23-32-32");
subsidiary.setProvince("f");
subsidiary.setRentPrice(434);
subsidiary.setStreet("fd");
Long id = subsidiaryService.addSubsidiary(subsidiary);
log.info(subsidiary);
}