return [];
} if (!
$node->name instanceof Identifier
) { return [];
} if (!\
in_array((string) $node->name, self::MOCK_METHODS, true
)) { return [];
} $mockedClassString =
$this->
resolveClassName($node->
getArgs()[0
]->value
);
if ($mockedClassString === null || !
$this->reflectionProvider->
hasClass($mockedClassString)) { return [];
} $mockedClass =
$this->reflectionProvider->
getClass($mockedClassString);
if (!
$this->
isBlacklisted($mockedClass)) { return [];
}