@Test
public void should_have_a_default_value_if_property_is_not_set() throws Exception {

    when(env.getProperty("user.home")).thenReturn(System.getProperty("user.home"));
    assertThat(workspacePathResolver.getWorkspacePath())
            .isEqualTo(Paths.get(System.getProperty("user.home") + "/.bonita"));
}