Hi everyone!! Oh God!! Only 8 people in Channel T...
# test
c
Hi everyone!! Oh God!! Only 8 people in Channel Testing?? That’s bad! 😕 I’m having troubles mocking some dependencies. Here is the SO link (related to problem 1): http://stackoverflow.com/questions/36669762/missingmethodinvocationexception-testing-an-opened-class-in-kotlin 1) I couldn’t mock the dependencies of the class I wanted to test, so I had to make thoses classes
open
in order to mock them. I’m using a library from @nhaarman 2) My second problem are lazy initialisation. I get a null pointer exception because of this: