private static OrderedComposite <IStepListener> TearUp() { OrderedComposite <IStepListener> listeners = new OrderedComposite <IStepListener>(); listeners.Add(new UnorderedListener()); listeners.Add(new ThirdListener()); listeners.Add(new FirstListener()); listeners.Add(new SecondListener()); return(listeners); }
public void AddTest() { OrderedComposite <IStepListener> listeners = new OrderedComposite <IStepListener>(); listeners.Add(new UnorderedListener()); Assert.IsNotNull(listeners); listeners.Add(new ThirdListener()); Assert.IsNotNull(listeners); listeners.Add(new FirstListener()); Assert.IsNotNull(listeners); listeners.Add(new SecondListener()); Assert.IsNotNull(listeners); }
public void AddTest() { OrderedComposite<IStepListener> listeners = new OrderedComposite<IStepListener>(); listeners.Add(new UnorderedListener()); Assert.IsNotNull(listeners); listeners.Add(new ThirdListener()); Assert.IsNotNull(listeners); listeners.Add(new FirstListener()); Assert.IsNotNull(listeners); listeners.Add(new SecondListener()); Assert.IsNotNull(listeners); }
private static OrderedComposite<IStepListener> TearUp() { OrderedComposite<IStepListener> listeners = new OrderedComposite<IStepListener>(); listeners.Add(new UnorderedListener()); listeners.Add(new ThirdListener()); listeners.Add(new FirstListener()); listeners.Add(new SecondListener()); return listeners; }