### Question:
SharedFileSystemSegmentationResolver implements IgSegmentationResolver { public boolean isValidSegment() throws IgSegmentationException { if (sharedFolder == null) { sharedFolder = new File(getFolderPathURI()); } return sharedFolder.canRead() && sharedFolder.canWrite(); }  boolean isValidSegment(); SharedFileSystemSegmentationResolver setFolderPath(String folderPath); String toString();  }### Answer:
@Test(expected = NullPointerException.class) public void test_resolver_with_folder_not_set() throws IgSegmentationException { resolver.isValidSegment(); }