|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
VoidStub.java | - | 50% | 50% | 50% |
|
1 |
/* Copyright (c) 2000-2003, jMock.org. See bundled LICENSE.txt */
|
|
2 |
package org.jmock.stub;
|
|
3 |
|
|
4 |
import org.jmock.dynamic.Invocation;
|
|
5 |
|
|
6 |
public class VoidStub extends CallStub { |
|
7 |
|
|
8 | 0 |
public String getDescription() {
|
9 | 0 |
return "returns <void>"; |
10 |
} |
|
11 |
|
|
12 | 10 |
public Object invoke(Invocation invocation) throws Throwable { |
13 | 10 |
return null; |
14 |
} |
|
15 |
|
|
16 |
} |
|
17 |
|
|