public void Execute() { Assert.True(Inited); Assert.True(ServiceA.IsInited); Assert.True(!ServiceA.IsExecuted); Assert.True(ServiceB.IsInited); Assert.True(!ServiceB.IsExecuted); Assert.True(ServiceC.IsInited); Assert.True(!ServiceC.IsExecuted); ServiceB.Execute(); ServiceC.Execute(); Executed = true; }
public void Execute() { serviceA.Execute(); serviceB.Execute(); }