def METHOD_NAME(self) -> TestSelector:
    if self.manifest is None or self.graph is None:
        raise DbtInternalError("manifest and graph must be set to get perform node selection")
    return TestSelector(
        graph=self.graph,
        manifest=self.manifest,
        previous_state=self.previous_state,
    )