public void suspend_turns_state_suspended() { lifecycle.Initialize(); lifecycle.Suspend(); Assert.That(lifecycle.state, Is.EqualTo(LifecycleState.SUSPENDED)); Assert.That(lifecycle.Suspended, Is.True); }
public void Suspend(Action callback = null) { _lifecycle.Suspend(null); }