Alan Lee
07/09/2018, 5:06 PMMockk
with mocking a Java final class that has static fields and private constructors. How would I go about doing this?
What I wanted to do was mock a method in a class that returns XxxError.NoError
but I just want to returned a mocked XxxError.NoError
which does not do anything.