I have a valid and existent workspace (file geodatabase) in a specific folder.
[TestMethod]
public void WorkspaceHandler_TestConstructor_FileGdbWorkspace()
{
workHandler = new WorkspaceHandler(gdbWorkspace);
IWorkspace workspace = workHandler.GetCurrentWorkspace;
Assert.AreEqual(gdbWorkspace, workspace.PathName);
Assert.AreEqual(esriWorkspaceType.esriLocalDatabaseWorkspace, workspace.Type);
Assert.AreEqual(false, workspace.IsDirectory());
Assert.AreEqual(true, workspace.Exists());
}
My last assert fails. All the other ones are working OK. Is there any sort of specificity on this particular method?