private static void AssertIterator( EventBean[] events, string[] fields, object[][] expected) { var result = EPAssertionUtil.EventsToObjectArr(events, fields); EPAssertionUtil.AssertEqualsAnyOrder(expected, result); }