public void TestRemove() { IList <IEnumerable <EventBean> > enumerableList = new List <IEnumerable <EventBean> >(); enumerableList.Add(EventFactoryHelper.MakeList(_events, new[] { "a", "b", "c" })); var enumerator = new IterablesListIterator(enumerableList); try { enumerator.Reset(); Assert.IsTrue(false); } catch (NotSupportedException ex) { // Expected } }
private void CheckResults(IEnumerable <IEnumerable <EventBean> > enumerableList, EventBean[] expectedValues) { var iterator = new IterablesListIterator(enumerableList); EPAssertionUtil.AssertEqualsExactOrder(expectedValues, iterator); }