Clover Coverage Report - EasyMock 2.4
Coverage timestamp: mer. juil. 2 2008 02:17:38 CEST
2   28   3   0,67
0   15   1,5   3
3     1  
1    
 
 
  NotNull       Line # 11 2 3 100% 1.0
 
  (5)
 
1    /*
2    * Copyright (c) 2001-2008 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 java.io.Serializable;
8   
9    import org.easymock.IArgumentMatcher;
10   
 
11    public class NotNull implements IArgumentMatcher, Serializable {
12   
13    private static final long serialVersionUID = -2689588759855326190L;
14   
15    public static final NotNull NOT_NULL = new NotNull();
16   
 
17  1 toggle private NotNull() {
18   
19    }
20   
 
21  9 toggle public boolean matches(Object actual) {
22  9 return actual != null;
23    }
24   
 
25  3 toggle public void appendTo(StringBuffer buffer) {
26  3 buffer.append("notNull()");
27    }
28    }