@Test
public void shouldGetCustomizedText() {

    String originalText = "original";
    String customText = "custom";
    when(customizedTextDao.findCustomizedTextByOriginalText(originalText)).thenReturn(
            new CustomizedText(originalText, customText));
    CustomizedTextDto customizedTextDto = customizedTextServiceFacadeWebTier.getCustomizedTextDto(originalText);
    assertThat(customizedTextDto.getOriginalText(), is(originalText));
    assertThat(customizedTextDto.getCustomText(), is(customText));
}