public void SetVisibilityOfControlsCorrectly(bool isVisible) { // Act buildModeHUDView.SetVisibilityOfControls(isVisible); // Assert testControllers.shortcutsController.Received(1).SetActive(isVisible); }
public void ChangeVisibilityOfControls() { isControlsVisible = !isControlsVisible; view.SetVisibilityOfControls(isControlsVisible); }