EasyMock 2.3

Clover coverage report - EasyMock 2.3
Coverage timestamp: mar. juil. 10 2007 02:46:04 CEST
FRAMES NO FRAMES

file stats: | LOC: | 23 |  | Methods: | 3
| NCLOC: | 13 |  | Classes: | 1

Source file | Conditionals | Statements | Methods | TOTAL

Null.java

-

100%

100%

100%

1 |  | /*
2 |  | * Copyright (c) 2001-2007 OFFIS, Tammo Freese.
3 |  | * This program is made available under the terms of the MIT License.
4 |  | */
5 |  | package org.easymock.internal.matchers;
6 |  |
7 |  | import org.easymock.IArgumentMatcher;
8 |  |
9 |  | public class Null implements IArgumentMatcher {
10 |  |
11 |  | public static final Null NULL = new Null();
12 |  |
13 | 1 | private Null() {
14 |  | }
15 |  |
16 | 6 | public boolean matches(Object actual) {
17 | 6 | return actual == null;
18 |  | }
19 |  |
20 | 1 | public void appendTo(StringBuffer buffer) {
21 | 1 | buffer.append("isNull()");
22 |  | }
23 |  | }