### Question:
ServerConfiguration { public void setWorkspaceRootURI(final URI uri) { this.workspaceRootURI = uri; }  URI getWorkspaceRootURI(); void setWorkspaceRootURI(final URI uri); String getWorkspaceRoot(); void setWorkspaceRoot(final String workspaceRoot); Set<String> getWorkspaceEntries(); int getServerPort(); void setServerPort(final int serverPort); static boolean isValidWorkspaceRoot(final String fileUrl); static boolean isValidPort(final Integer port);  }### Answer:
@Test public void setWorkspaceRootURI() { File cwd = getCWD(); serverConfiguration.setWorkspaceRootURI(URI.createFileURI(cwd.getAbsolutePath())); assertThat(serverConfiguration.getWorkspaceRoot(), is(cwd.getAbsolutePath())); }