public function testEnsureEmptyFailed() { $this->setExpectedException(self::ENSURE_EXCEPTION, 'check 1 2 3'); Ensure::isEmpty('hello', 'check %s %s %s', 1, 2, 3); }