public function testThrowsExceptionWhenIdentifierNotFound() { $defaultReflector = ClassReflector::buildDefaultReflector(); $this->expectException(IdentifierNotFound::class); $defaultReflector->reflect('Something\\That\\Should\\Not\\Exist'); }