Clover Coverage Report - EasyMock 2.4
Coverage timestamp: mer. juil. 2 2008 02:17:38 CEST
4   24   1   4
0   15   0,25   1
1     1  
1    
 
 
  MockNameTest       Line # 13 4 1 100% 1.0
 
  (1)
 
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.tests;
6   
7    import static org.junit.Assert.*;
8   
9    import org.easymock.MockControl;
10    import org.junit.Test;
11   
12    @SuppressWarnings("deprecation")
 
13    public class MockNameTest {
14   
15    private MockControl<IMethods> control;
16   
 
17  1 toggle @Test
18    public void defaultName() {
19  1 control = MockControl.createControl(IMethods.class);
20  1 String expected = "EasyMock for " + IMethods.class.toString();
21  1 String actual = control.getMock().toString();
22  1 assertEquals(expected, actual);
23    }
24    }