|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| UsageMatchersTest | Line # 12 | 3 | 1 | 100% |
1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| (1) | |||
| Result | |||
|
1.0
|
org.easymock.tests2.UsageMatchersTest.additionalMatchersFailAtReplay
org.easymock.tests2.UsageMatchersTest.additionalMatchersFailAtReplay
|
1 PASS | |
| 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.tests2; | |
| 6 | ||
| 7 | import static org.easymock.EasyMock.*; | |
| 8 | ||
| 9 | import org.easymock.tests.IMethods; | |
| 10 | import org.junit.Test; | |
| 11 | ||
| 12 | public class UsageMatchersTest { | |
| 13 | 1 |
@Test(expected = IllegalStateException.class) |
| 14 | public void additionalMatchersFailAtReplay() { | |
| 15 | ||
| 16 | 1 | IMethods mock = createMock(IMethods.class); |
| 17 | 1 | lt(5); |
| 18 | ||
| 19 | 1 | replay(mock); |
| 20 | } | |
| 21 | ||
| 22 | } | |
|
||||||||||