public function testValidEndsWith() { Assertion::endsWith("foo", "foo"); Assertion::endsWith("sonderbar", "bar"); Assertion::endsWith("opp", "p"); Assertion::endsWith("foo址", "址"); }
/** * @Then the log messages should be shown */ public function theLogMessagesShouldBeShown() { list($line0, $line1) = $this->data['output']; Assertion::startsWith($line0, 'purging database'); Assertion::endsWith($line1, RoleFixture::class); }