/** * @Then /^the command was not successful$/ */ public function theCommandWasNotSuccessful() { Assertion::notSame($this->tester->getStatusCode(), 0); }
public function testNotSame() { Assertion::notSame("1", 2); Assertion::notSame(new \stdClass(), array()); $this->setExpectedException('Assert\\AssertionFailedException', null, Assertion::INVALID_NOT_SAME); Assertion::notSame(1, 1); }