public function testCreateFromInstanceThrowsExceptionWhenInvalidArgumentProvided()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Instance must be an instance of an object');
ReflectionClass::createFromInstance('invalid argument');
}