@Test
  public void testClose_unregisteredResourceIsNotClosed() throws IOException {
    TestCloseable resource = new TestCloseable();
    state.register(resource);
    assertFalse(resource.closed);
    state.unregister(resource);
    state.close();
    assertFalse(resource.closed);
  }
Tests for {@link FileSystemState}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java