52535455565758
* @param value * 字符串变量 * @return */ public IStringAssert string(String value) { return new StringAssert(value); }
42434445464748
* a parameter string will be asserted * * @return */ public IStringAssert string() { return new StringAssert(); }
136137138139140141142143144145146
} public IStringAssert toStringAssert() { IStringAssert matcher = null; if (this.type == AssertType.AssertStyle) { matcher = new StringAssert(String.valueOf(this.value)); } else { matcher = new StringAssert(true); } return (IStringAssert) matcher; }