1 /* Copyright (c) 2000-2003, jMock.org. See bundled LICENSE.txt */ 2 package org.jmock.expectation; 3 4 public class TestExpectationList extends AbstractTestExpectationCollection { 5 6 protected void setUp() throws Exception { 7 super.setUp(); 8 myExpectation = new ExpectationList(getClass().getName()); 9 } 10 11 // see super-class for tests 12 13 public void testSorted() { 14 myExpectation.addExpected("A"); 15 myExpectation.addExpected("B"); 16 17 myExpectation.addActual("A"); 18 myExpectation.addActual("B"); 19 20 myExpectation.verify(); 21 } 22 }

This page was automatically generated by Maven