/** * Asserts that a string starts not with a given prefix. * * @param string $prefix * @param string $string * @param string $message * @since Method available since Release 3.4.0 */ function assertStringStartsNotWith($prefix, $string, $message = '') { return PHPUnit_Framework_Assert::assertStringStartsNotWith($prefix, $string, $message); }
public function toStartWith($prefix) { if ($this->negate) { a::assertStringStartsNotWith($prefix, $this->actual); } else { a::assertStringStartsWith($prefix, $this->actual); } }
public function notStartsWith($prefix) { a::assertStringStartsNotWith($prefix, $this->actual, $this->description); }
public function doesNotStartWith($prefix) { Assert::assertStringStartsNotWith($prefix, $this->actual, $this->description); return $this; }
/** * Expect that a string starts not with a given prefix. * * @param string $prefix * @param string $message * * @return Expect */ public function notToStartWith($prefix, $message = '') { Assert::assertStringStartsNotWith($prefix, $this->value, $message); return $this; }