Refactor attachment creation to use injection.

This commit is contained in:
akwizgran
2019-06-25 16:07:38 +01:00
parent 5beed1a748
commit 92eb06a9e9
15 changed files with 596 additions and 417 deletions

View File

@@ -48,7 +48,8 @@ public class AttachmentRetrieverIntegrationTest {
private final MessageId msgId = new MessageId(getRandomId());
private final AttachmentRetriever retriever =
new AttachmentRetriever(null, dimensions);
new AttachmentRetrieverImpl(null, dimensions,
new ImageHelperImpl());
@Test
public void testSmallJpegImage() throws Exception {