public function callbackSelfReference()
{
$testClass = 'MyOf' . mt_rand(1000, 9999) . 'Fake' . mt_rand(1000, 9999) . 'Class';
$test = $this;
$handler = $this->create(function ($className) use(&$handler, $test, $testClass) {
/** @var $handler AutoloadHandler */
$test->assertEquals($testClass, $className);
$handler->disable();
});
$actual = class_exists($testClass);
$isEnabled = $handler->isEnabled();
$this->assertEquals(1, $this->getCount());
$this->assertFalse($isEnabled);
$this->assertFalse($actual);
}