ConvertToHash test I2PAppContext part
Building upon @zlatinb's MR !14 (closed) , it makes it possible to replace the global context with a TestContext
.
By using @InjectMocks
it's possible to replace the fields of a TestContext
object with mocks.
This is done in a separate MR in order not to pollute !13 (merged) with I2PAppContext
specific code.
Edited by zzz