@Test
public void should_retrieve_pages_repository_path_from_environment_variable() throws Exception {

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