use of org.jboss.pnc.mock.repositorymanager.RepositorySessionMock in project pnc by project-ncl.
the class DestroyableEnvironmentMock method build.
public static DestroyableEnvironment build() {
RepositorySession repositorySession = new RepositorySessionMock();
Path workingDir = Paths.get("/root");
return RunningEnvironment.createInstance("1", 8080, "localhost", "build/agent/url", "internal,build/agent/url", repositorySession, workingDir, () -> {
}, new DebugData(false));
}
Aggregations