Package mockit

Class TestedAndMockedTest.ClassToBeTested

java.lang.Object
mockit.TestedAndMockedTest.ClassToBeTested
Enclosing class:
TestedAndMockedTest

public static class TestedAndMockedTest.ClassToBeTested extends Object
The Class ClassToBeTested.
  • Constructor Details

    • ClassToBeTested

      public ClassToBeTested(String someData)
      Instantiates a new class to be tested.
      Parameters:
      someData - the some data
  • Method Details

    • doSomeOperation

      public boolean doSomeOperation(int i, String s)
      Do some operation.
      Parameters:
      i - the i
      s - the s
      Returns:
      true, if successful