@Test
public void shouldThrowAPIExceptionWhenRoundingIsEnabledButNoRoundingIdSet() throws Exception {

	expectedEx.expect(APIException.class);
	expectedEx.expectMessage("Rounding enabled ");
	options = new CashierOptions();
	options.setRoundToNearest(10);
	when(cashierOptionsService.getOptions()).thenReturn(options);
	when(adminService.getGlobalProperty(ModuleSettings.ROUNDING_ITEM_ID)).thenReturn(null);
	cashierOptionsController.options();
}