@Test
public void should_retrieve_widgets_repository_path_from_environment_variable() throws Exception {

    when(env.getProperty("repository.widgets")).thenReturn("/path/to/widgets");
    assertThat(workspacePathResolver.getWidgetsRepositoryPath()).isEqualTo(Paths.get("/path/to/widgets"));
}