### Question:
BuilderWorkspace { public Mode getMode(Path basedir) { return getWorkspace(basedir).getMode(); } BuilderWorkspace(Workspace workspace, Path basedir,
      BuilderExecutionState oldExecutionState); Stream<Path> walk(Path basedir); Mode getMode(Path basedir); boolean isRegularFile(Path path); boolean exists(Path path); boolean isDirectory(Path path); void processOutput(Path path);  }### Answer:
@Test public void testDeltaWorkspaceWithEscalatedExecutionState() { TestWorkspace workspace = new TestWorkspace(Mode.DELTA); BuilderExecutionState state = BuilderExecutionState.load(Paths.get("")); BuilderWorkspace builderWorkspace = new BuilderWorkspace(workspace, Paths.get(""), state); assertEquals(Mode.ESCALATED, builderWorkspace.getMode(Paths.get(""))); }