### Question:
ImageService { public String getHtmlSrcImagePrefix() { return imageConverter.getHtmlSrcImagePrefix(); } ImageService(
            ImageConverter imageConverter,
            Base64Wrapper base64Wrapper,
            String defaultImagePath,
            JCommuneProperty imageSizeProperty); byte[] getDefaultImage(); String preProcessAndEncodeInString64(byte[] bytes); void validateImageFormat(MultipartFile file); void validateImageFormat(byte[] bytes); void validateImageSize(byte[] bytes); String getHtmlSrcImagePrefix(); static final String ICO_TYPE; }### Answer:
@Test public void serviceShouldReturnPrefixOfImageConverter() { when(imageConverter.getHtmlSrcImagePrefix()).thenReturn("tiff"); String prefix = imageService.getHtmlSrcImagePrefix(); assertEquals(prefix, "tiff"); }