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