public function testTestCreateForUnreadablePropertyFromStdClass()
{
$exception = NoSuchPropertyExceptionFactory::createForUnreadablePropertyFromStdClass('foo');
$this->assertEquals('Cannot read property "foo" from stdClass.', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}