public void ChangesState() { canvas.enabled = false; canvasManager.ChangeState(); Assert.IsTrue(canvas.enabled); canvas.enabled = true; canvasManager.ChangeState(); Assert.IsFalse(canvas.enabled); }