@Test
  public void exists() {
    boolean exists = container.exists(location);
    assertFalse(exists);

    when(workspace.hasResource(location)).thenReturn(true);

    exists = container.exists(location);
    assertTrue(exists);
  }