@Test
public void should_resolve_workspace_path_by_getting_system_property() throws Exception {

    Path expectedWorkspacePath = Paths.get("someUserDefinedDirectory");
    when(env.getProperty(WORKSPACE_KEY)).thenReturn(expectedWorkspacePath.toString());
    assertThat(workspacePathResolver.getWorkspacePath()).isEqualTo(expectedWorkspacePath);
}