📄 expectationlisttest.java
字号:
/* Copyright (c) 2000-2004 jMock.org
*/
package test.jmock.expectation;
import org.jmock.expectation.ExpectationList;
public class ExpectationListTest extends AbstractTestExpectationCollection
{
protected void setUp() throws Exception {
super.setUp();
myExpectation = new ExpectationList(getClass().getName());
}
// see super-class for tests
public void testSorted() {
myExpectation.addExpected("A");
myExpectation.addExpected("B");
myExpectation.addActual("A");
myExpectation.addActual("B");
myExpectation.verify();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -