/** * Asserts that a string ends not with a given prefix. * * @param string $suffix * @param string $string * @param string $message * @since Method available since Release 3.4.0 */ function assertStringEndsNotWith($suffix, $string, $message = '') { return PHPUnit_Framework_Assert::assertStringEndsNotWith($suffix, $string, $message); }
public function toEndWith($suffix) { if ($this->negate) { a::assertStringEndsNotWith($suffix, $this->actual); } else { a::assertStringEndsWith($suffix, $this->actual); } }
public function notEndsWith($suffix) { a::assertStringEndsNotWith($suffix, $this->actual, $this->description); }
public function doesNotEndWith($suffix) { Assert::assertStringEndsNotWith($suffix, $this->actual, $this->description); return $this; }
/** * Expect that a string ends not with a given suffix. * * @param string $suffix * @param string $message * * @return Expect */ public function notToEndWith($suffix, $message = '') { Assert::assertStringEndsNotWith($suffix, $this->value, $message); return $this; }