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