mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Refactor attachment creation to use injection.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user