public function testEnsureNotExistingFailed() { $this->setExpectedException(self::ENSURE_EXCEPTION, 'check 1 2 3'); $arr = array('a' => 'b'); Ensure::isNotExisting($arr['a'], 'check %s %s %s', 1, 2, 3); }
public function testEnsureNotExistingFailed() { $this->setExpectedException(self::ENSURE_EXCEPTION, 'check 1 2 3'); $arr = array('a' => 'b'); Ensure::isNotExisting($arr['a'], 'check %s %s %s', 1, 2, 3); }