@Test
public void should_doPost_doNothing_if_rest_client_is_not_configured()
        throws Exception {

    when(env.getProperty(RestClientProperties.WORKSPACE_API_REST_URL)).thenReturn(null);
    studioWorkspaceResourceHandler.doPost(filePath, WorkspaceResourceEvent.POST_CLOSE);
}