private void VerifyShowFullLessDesignNameAction(bool expectation) { var visibility = _oneDesign.CheckShowFullLessDesignNameActionLinkVisibility(expectation); Assert.IsTrue(visibility); if (visibility) { var isCorrectBehaviors = _oneDesign.CheckShowFullLessDesignNameActionLinkBehaviors(expectation); Assert.IsTrue(isCorrectBehaviors); } }
private void VerifyShowFullLessDesignNameAction(bool expectation) { var isVisibilityLinkShowLess = _oneDesign.CheckShowFullLessDesignNameActionLinkVisibility(expectation); if (isVisibilityLinkShowLess) { Assert.IsTrue(isVisibilityLinkShowLess); var isCorrectBehaviors = _oneDesign.CheckShowFullLessDesignNameActionLinkBehaviors(expectation); Assert.IsTrue(isCorrectBehaviors); } else { Assert.IsFalse(isVisibilityLinkShowLess); } }