/*
* Copyright (c) 2006-2012 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/ /*...*/ |
||
5 | package coverageExperiments; |
|
7 | 2 | public final class TestedClassPartiallyMocked |
8 | { |
|
9 | public int doSomething(String s) |
|
10 | { |
|
11 | 2 | int i = doSomethingElse(); |
12 | 2 | return i + s.length(); |
13 | } |
|
15 | public int doSomethingElse() |
|
16 | { |
|
17 | 0 | System.out.println("Something else"); |
18 | 0 | return 123; |
19 | } |
|
20 | } |