Example #1
0
        public IAssertTextSyntaxProvider Text(string text)
        {
            // Before
            _logger.LogPartialMessage("text to be " + text + " ", true);

            // Execute
            IAssertTextSyntaxProvider assertTextSyntaxProvider = _assertSyntaxProvider.Text(text);

            // After
            return(new WbTstrAssertTextSyntaxProvider(this, assertTextSyntaxProvider, _logger));
        }
 public bool Text(string text, string element)
 {
     _logger.LogPartialMessage("that text of element '{0}' is '{1}'.", true, element, text);
     return(Check(() => _assert.Text(text).In(element)));
 }