Class MockSelfDemo

java.lang.Object
samples.partialmocking.MockSelfDemo

public class MockSelfDemo extends Object
  • Field Details

    • hello

      private int hello
  • Constructor Details

    • MockSelfDemo

      private MockSelfDemo()
    • MockSelfDemo

      public MockSelfDemo(int hello)
    • MockSelfDemo

      public MockSelfDemo(Object string)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • establishConnection

      protected String establishConnection(Connection conn) throws Exception
      Throws:
      Exception
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • aMethod

      public String aMethod()
    • aMethod2

      public void aMethod2()
    • getTwoStrings

      public String getTwoStrings()
    • getString

      private String getString()
    • getString

      public String getString(String string)
    • getString2

      public String getString2(String string)
    • getString2

      public String getString2()
    • timesTwo

      public int timesTwo(Integer anInt)
    • timesTwo

      public int timesTwo(int anInt)
    • timesThree

      public int timesThree(int anInt)
    • getConstructorValue

      public int getConstructorValue()
    • getSomething

      public static int getSomething()
    • methodToBeStubbed

      public static int methodToBeStubbed()