Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved reference DaggerTestComponent #9

Open
kobaken0029 opened this issue Feb 13, 2017 · 0 comments
Open

Unresolved reference DaggerTestComponent #9

kobaken0029 opened this issue Feb 13, 2017 · 0 comments

Comments

@kobaken0029
Copy link
Owner

Overview

DaggerTestComponent don't be resolved reference that was automatically generated by TestComponent we want to use when doing DI by Dagger2 on the test written in "lib/src/test/".

Now, like this↓

// DaggerTestComponentのReferenceが解決できないため無理やりmock化
iroha.accountService = accountService = mock(AccountService.class);
iroha.domainService = domainService = mock(DomainService.class);
iroha.assetService = assetService = mock(AssetService.class);
iroha.transactionService = transactionService = mock(TransactionService.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant