I have not been able to write effective unit tests with Mockito, because OneBusAway classes are final. Mockito is unable to mock final classes. Instead, I propose switching to JMockit.
I am gonna close this issue because I think the referenced PR addresses it for the most part. We have basic tests. A potential future issue would be to increase code coverage.
I have not been able to write effective unit tests with Mockito, because OneBusAway classes are
final
. Mockito is unable to mockfinal
classes. Instead, I propose switching to JMockit.