package yokohama.unit.ast_junit;

import java.nio.file.Path;
import java.util.Optional;
import lombok.Value;
import yokohama.unit.ast.Position;

@Value
public class Span {
    private final Optional<Path> sourcePath;
    private final Position start;
    private final Position end;
}

package yokohama.unit.ast_junit;

import java.nio.file.Path;
import java.util.Optional;
import lombok.Value;
import yokohama.unit.ast.Position;

@Value
public class Span {
    private final Optional<Path> sourcePath;
    private final Position start;
    private final Position end;

    private static Span dummySpan =
            new Span(
                    Optional.empty(),
                    new Position(-1, -1),
                    new Position(-1, -1));
    public static Span dummySpan() {
        return dummySpan;
    }
}

Add dummySpan static method