### Question:
CustomerService { public void store(Customer newCustomer) { log.debug("Get customer {}", newCustomer); Preconditions.checkNotNull(newCustomer, "Customer object is required for save"); customerRepository.store(newCustomer); }  List<Customer> getCustomers(); Customer getByEmail(String email); void store(Customer newCustomer);  }### Answer:
@Test public void store() { Customer newCustomer = new Customer(); customerService.store(newCustomer); Mockito.verify(customerRepository).store(newCustomer); }