async def METHOD_NAME(self) -> AsyncGenerator[CompanionSet, None]:
    # Covers a fresh tempfile
    with tempfile.NamedTemporaryFile() as f:
        yield CompanionSet(logger=mock.MagicMock(), state_file_path=f.name)
    # Covers a missing state file
    with tempfile.TemporaryDirectory() as dir:
        yield CompanionSet(
            logger=mock.MagicMock(), state_file_path=str(Path(dir) / "state_file")
        )
    # Covers a garbage tempfile
    with tempfile.TemporaryDirectory() as dir:
        path = str(Path(dir) / "state_file")
        with open(path, "w") as f:
            f.write("GARBAGEASDASDASD")
        yield CompanionSet(logger=mock.MagicMock(), state_file_path=path)