public void Should_Remove_Screen_From_Stack() { _stack.Clear(); _stack.Add(_screen); _stack.Remove(_screen); Assert.IsNotNull(_stack.Screens); Assert.IsTrue(_stack.Screens.Count == 0); }
public void CloseScreen() { _transition.ExecuteTransition(_stack.CurrentScreen, _stack.PreviousScreen); _stack.Remove(_stack.CurrentScreen); }