@Override
  public FileType getType() throws FileSystemException {
    return resolvedFileObject.getType();
  }
@Test
  public void testDelegatesGetType() throws FileSystemException {
    when( resolvedFileObject.getType() ).thenReturn( FileType.FILE );

    assertEquals( FileType.FILE, fileObject.getType() );

    when( resolvedFileObject.getType() ).thenReturn( FileType.FOLDER );

    assertEquals( FileType.FOLDER, fileObject.getType() );

    verify( resolvedFileObject, times( 2 ) ).getType();
  }