@Test public void shouldUpdateOrderNumberConfiguration() { OrderNumberConfiguration orderNumberConfiguration = new OrderNumberConfiguration(); orderConfigurationRepository.updateOrderNumberConfiguration(orderNumberConfiguration); verify(orderNumberConfigurationMapper).delete(); verify(orderNumberConfigurationMapper).insert(orderNumberConfiguration); }
public void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration) { orderNumberConfigurationMapper.delete(); orderNumberConfigurationMapper.insert(orderNumberConfiguration); }
OrderConfigurationRepository { public void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration) { orderNumberConfigurationMapper.delete(); orderNumberConfigurationMapper.insert(orderNumberConfiguration); } }
OrderConfigurationRepository { public void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration) { orderNumberConfigurationMapper.delete(); orderNumberConfigurationMapper.insert(orderNumberConfiguration); }  }
OrderConfigurationRepository { public void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration) { orderNumberConfigurationMapper.delete(); orderNumberConfigurationMapper.insert(orderNumberConfiguration); }  OrderConfiguration getConfiguration(); void update(OrderConfiguration orderConfiguration); OrderNumberConfiguration getOrderNumberConfiguration(); void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration); }
OrderConfigurationRepository { public void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration) { orderNumberConfigurationMapper.delete(); orderNumberConfigurationMapper.insert(orderNumberConfiguration); }  OrderConfiguration getConfiguration(); void update(OrderConfiguration orderConfiguration); OrderNumberConfiguration getOrderNumberConfiguration(); void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration);  }