assertThat(expectedOrderPositionEto.getDrinkState()).isEqualTo(SAMPLE_DRINK_STATE);
assertThat(expectedOrderPositionEto.getPrice()).isEqualTo(SAMPLE_PRICE);
assertThat(expectedOrderPositionEto.getComment()).isEqualTo(SAMPLE_COMMENT);
}
@Test
<BUG>public void getOrderPosition() {
HttpEntity<String> getRequest = new HttpEntity<String>(this.AUTHENTIFICATED_HEADERS);
OrderPositionEto sampleOrderPositionEto = this.helper.createSampleOrderPositionEto(INITIAL_NUMBER_OF_ORDERS);
this.helper.getService().saveOrderPosition(sampleOrderPositionEto);
</BUG>
ResponseEntity<String> getResponse = this.template.exchange(

assertThat(expectedOrderPositionEto.getDrinkState()).isEqualTo(SAMPLE_DRINK_STATE);
assertThat(expectedOrderPositionEto.getPrice()).isEqualTo(SAMPLE_PRICE);
assertThat(expectedOrderPositionEto.getComment()).isEqualTo(SAMPLE_COMMENT);
}
@Test
public void getOrderPosition() {
OrderCto sampleOrderCto = this.helper.createSampleOrderCto(SAMPLE_TABLE_ID);
OrderCto responseOrderCto = this.helper.getService().saveOrder(sampleOrderCto);
HttpEntity<String> getRequest = new HttpEntity<>(this.AUTHENTIFICATED_HEADERS);
OrderPositionEto sampleOrderPositionEto =
this.helper.createSampleOrderPositionEto(responseOrderCto.getOrder().getId());
OrderPositionEto responseOrderPositionEto = this.helper.getService().saveOrderPosition(sampleOrderPositionEto);
ResponseEntity<String> getResponse = this.template.exchange(
