public void Return_Completed_Coroutine_On_Run() { var entry = new Coroutines.Execute.Entry(action); var exit = entry.Run(); exit.Completed.Should().BeTrue(); }
public void Call_Action_On_Run() { var entry = new Coroutines.Execute.Entry(action); entry.Run(); action.Received(1).Invoke(); }
public void Entry_Must_Not_Be_Completed() { var entry = new Coroutines.Execute.Entry(action); entry.Completed.Should().BeFalse(); }