public class InlineImageTranslatorTest extends Object
Modifier and Type | Field and Description |
---|---|
LoggingTestRule |
loggingRule |
(package private) MimeTypeProvider |
mimeTypeProvider |
org.mockito.junit.MockitoRule |
mockito |
(package private) InlineImageTranslator |
translator |
Constructor and Description |
---|
InlineImageTranslatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
absoluteUrlsShouldBeAutomaticallySkipped() |
void |
backgroudImagesShouldBeInlined() |
void |
oghamAttributesShoulBeRemoved() |
void |
setup() |
public final org.mockito.junit.MockitoRule mockito
public final LoggingTestRule loggingRule
@Mock MimeTypeProvider mimeTypeProvider
InlineImageTranslator translator
public void setup() throws MimeTypeDetectionException, MimeTypeParseException
public void absoluteUrlsShouldBeAutomaticallySkipped() throws ContentTranslatorException, IOException, ResourceResolutionException
public void oghamAttributesShoulBeRemoved() throws ContentTranslatorException, IOException, ResourceResolutionException
public void backgroudImagesShouldBeInlined() throws ContentTranslatorException, IOException, ResourceResolutionException
Copyright © 2021. All rights reserved.