public void OnExit_SetsProcessNull()
    {
        IPointerUpInputProcessStateConstArg arg   = CreateMockArg();
        TestAbsPointerUpInputProcessState   state = new TestAbsPointerUpInputProcessState(arg);

        state.SetProcess_Test(Substitute.For <IUIAdaptorInputProcess>());
        Assert.That(state.GetProcess_Test(), Is.Not.Null);

        state.OnExit();

        Assert.That(state.GetProcess_Test(), Is.Null);
    }
    public void OnEnter_CreatesAndRunsProcess()
    {
        IPointerUpInputProcessStateConstArg arg   = CreateMockArg();
        TestAbsPointerUpInputProcessState   state = new TestAbsPointerUpInputProcessState(arg);

        state.OnEnter();

        IUIAdaptorInputProcess process = state.GetProcess_Test();

        process.Received(1).Run();
    }