@Test public void shouldGetConfiguration() { OrderConfiguration orderConfiguration = new OrderConfiguration(); orderConfiguration.setHeaderInFile(true); when(orderConfigurationMapper.get()).thenReturn(orderConfiguration); assertThat(orderConfigurationRepository.getConfiguration(), is(orderConfiguration)); verify(orderConfigurationMapper).get(); }
public OrderConfiguration getConfiguration() { return orderConfigurationMapper.get(); }
OrderConfigurationRepository { public OrderConfiguration getConfiguration() { return orderConfigurationMapper.get(); } }
OrderConfigurationRepository { public OrderConfiguration getConfiguration() { return orderConfigurationMapper.get(); }  }
OrderConfigurationRepository { public OrderConfiguration getConfiguration() { return orderConfigurationMapper.get(); }  OrderConfiguration getConfiguration(); void update(OrderConfiguration orderConfiguration); OrderNumberConfiguration getOrderNumberConfiguration(); void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration); }
OrderConfigurationRepository { public OrderConfiguration getConfiguration() { return orderConfigurationMapper.get(); }  OrderConfiguration getConfiguration(); void update(OrderConfiguration orderConfiguration); OrderNumberConfiguration getOrderNumberConfiguration(); void updateOrderNumberConfiguration(OrderNumberConfiguration orderNumberConfiguration);  }