public void Construction_OnEquatorButtonTouched() { equatorGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(true); equatorGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(false); equatorCircleBehaviourMock_.Received(1).State = true; equatorCircleBehaviourMock_.Received(1).State = false; }
public void Construction_OnDirectionGridButtonTouched() { directionGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(true); directionGridToggleButtonMock_.ButtonStateChanged += Raise.Event <Action <bool> >(false); directionCircleBehaviourMock_.Received(1).State = true; directionCircleBehaviourMock_.Received(1).State = false; }