*/
public void testNestedOptionalPartialAlwaysSatisfied() {
// Create an optional expectation.
Expectation nested = new RepeatingExpectation(
0, 1, new TestSimpleExpectation("A"));
RepeatingExpectation repeating
= new RepeatingExpectation(20, 300, nested);
// Process and event to move it towards a partially satisfied state.
repeating.checkExpectations(ExpectationState.CURRENT, new TestEvent("A"), report);