orderMngmntWebapp\src\coverageExperiments\TestedClassPartiallyMocked.java
 
/* * Copyright (c) 2006-2012 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */
/*...*/
5 
package coverageExperiments;
 
72
public final class TestedClassPartiallyMocked
  1. coverageExperiments.PartialMockingTest#useDynamicPartialMocking: 17
  2. coverageExperiments.PartialMockingTest#useAMockUp: 34
8 
{
9 
   public int doSomething(String s)
10 
   {
112
      int i = doSomethingElse();
  1. coverageExperiments.PartialMockingTest#useDynamicPartialMocking: 23
  2. coverageExperiments.PartialMockingTest#useAMockUp: 34
122
      return i + s.length();
  1. coverageExperiments.PartialMockingTest#useDynamicPartialMocking: 23
  2. coverageExperiments.PartialMockingTest#useAMockUp: 34
13 
   }
 
15 
   public int doSomethingElse()
16 
   {
170
      System.out.println("Something else");
    180
          return 123;
      19 
         }
      20 
      }