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