return createCompositeExpectation();
}
public void testImmutable() {
CompositeExpectation expectation = createCompositeExpectation();
expectation.addExpectation(new TestSimpleExpectation("A"));
((InternalExpectation) expectation).makeImmutable();
try {
expectation.addExpectation(new TestSimpleExpectation("B"));