Class PrivatePartialMockingExample


  • public final class PrivatePartialMockingExample
    extends java.lang.Object
    Simple partial mocking example that should need no byte-code manipulation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.String methodToMock​(java.lang.String input)  
      java.lang.String methodToTest()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrivatePartialMockingExample

        public PrivatePartialMockingExample()
    • Method Detail

      • methodToTest

        public java.lang.String methodToTest()
      • methodToMock

        private java.lang.String methodToMock​(java.lang.String input)