lithium\tests\cases\test\UnitTest::testClassNotHasAttributeWrongClassType PHP Method

testClassNotHasAttributeWrongClassType() public method

    public function testClassNotHasAttributeWrongClassType()
    {
        $self =& $this;
        $this->assertException('InvalidArgumentException', function () use($self) {
            $self->test->assertClassNotHasAttribute('foo', new \stdClass());
        });
    }
UnitTest