@Test public void testIsShowToCustomer() { OfferteOptionDto option = new OfferteOptionDto(); option.setKey(TranslationKey.ADR_MINIMUM); Assert.assertFalse(quotationUtil.isShowToCustomer(option.getKey())); OfferteOptionDto option2 = new OfferteOptionDto(); option.setKey(TranslationKey.DIESEL_SURCHARGE); Assert.assertTrue(quotationUtil.isShowToCustomer(option2.getKey())); }