wx930910 opened a new pull request #94: URL: https://github.com/apache/commons-codec/pull/94
### Jira - [CODEC-303](https://issues.apache.org/jira/browse/CODEC-303) ### Description #### Replace test class [NoOpBaseNCodec](https://github.com/apache/commons-codec/blob/b70e177f8733e9dd4e5f503620ed0b136b74785b/src/test/java/org/apache/commons/codec/binary/BaseNCodecTest.java#L375) by mocking object and improve test design <hr> ##### Motivation * Decouple test class `NoOpBaseNCodec` from production class `BaseNCodec`. * Remove the redundant overridden methods. * Make testing logic more explict. <hr> ##### Key changed/added classes in this PR * Created mocking object to replace test subclass `NoOpBaseNCodec`, decoupled test from production code. * Remove test subclass `NoOpBaseNCodec`. * Created method that return the mocking object for code reuse. * Add Mockito dependency. <hr> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
