public StringAssert isString ( ) { Node node = assertType ( STRING ) ; return new StringAssert ( ( String ) node . getValue ( ) ) . as ( "Different value found in node \"%s\"" , path ) ; }
Asserts that given node is present and is of type string .