@Test public void shouldGetAllShipmentFileColumns() { List<EDIFileColumn> expectedShipmentColumns = new ArrayList<>(); when(shipmentFileColumnMapper.getAll()).thenReturn(expectedShipmentColumns); List<EDIFileColumn> shipmentFileColumns = repository.getAllShipmentFileColumns(); assertThat(shipmentFileColumns, is(expectedShipmentColumns)); verify(shipmentFileColumnMapper).getAll(); }
public List<EDIFileColumn> getAllShipmentFileColumns() { return shipmentFileColumnMapper.getAll(); }
ShipmentTemplateRepository { public List<EDIFileColumn> getAllShipmentFileColumns() { return shipmentFileColumnMapper.getAll(); } }
ShipmentTemplateRepository { public List<EDIFileColumn> getAllShipmentFileColumns() { return shipmentFileColumnMapper.getAll(); }  }
ShipmentTemplateRepository { public List<EDIFileColumn> getAllShipmentFileColumns() { return shipmentFileColumnMapper.getAll(); }  List<EDIFileColumn> getAllShipmentFileColumns(); EDIConfiguration getShipmentConfiguration(); void updateShipmentConfiguration(EDIConfiguration shipmentConfiguration); void update(EDIFileColumn shipmentFileColumn); }
ShipmentTemplateRepository { public List<EDIFileColumn> getAllShipmentFileColumns() { return shipmentFileColumnMapper.getAll(); }  List<EDIFileColumn> getAllShipmentFileColumns(); EDIConfiguration getShipmentConfiguration(); void updateShipmentConfiguration(EDIConfiguration shipmentConfiguration); void update(EDIFileColumn shipmentFileColumn);  }