@Test public void shouldGetAllUsersAvailableForVendor() throws Exception { service.getAllUsersAvailableForVendor(); verify(repository).getAllUsersAvailableForVendor(); }
public List<User> getAllUsersAvailableForVendor() { return vendorUserRepository.getAllUsersAvailableForVendor(); }
VendorUserService { public List<User> getAllUsersAvailableForVendor() { return vendorUserRepository.getAllUsersAvailableForVendor(); } }
VendorUserService { public List<User> getAllUsersAvailableForVendor() { return vendorUserRepository.getAllUsersAvailableForVendor(); }  }
VendorUserService { public List<User> getAllUsersAvailableForVendor() { return vendorUserRepository.getAllUsersAvailableForVendor(); }  List<User> getAllUsersForVendor(Long vendorId); void save(VendorUser vendorUser); void removeVendorUserAssociation(Long vendorId, Long userId); List<User> getAllUsersAvailableForVendor(); }
VendorUserService { public List<User> getAllUsersAvailableForVendor() { return vendorUserRepository.getAllUsersAvailableForVendor(); }  List<User> getAllUsersForVendor(Long vendorId); void save(VendorUser vendorUser); void removeVendorUserAssociation(Long vendorId, Long userId); List<User> getAllUsersAvailableForVendor();  }