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

@@ -27,7 +27,7 @@ public class AttachmentRetrieverTest extends BrambleMockTestCase {
private final MessagingManager messagingManager =
context.mock(MessagingManager.class);
private final ImageHelper imageHelper = context.mock(ImageHelper.class);
private final AttachmentRetriever retriever = new AttachmentRetriever(
private final AttachmentRetriever retriever = new AttachmentRetrieverImpl(
messagingManager,
dimensions,
imageHelper