public void Get_UploadFolder2() { fs.CreateDirectory("/upload2/"); config.UploadFolders.Add("/upload2/"); initializer.Start(); vnf.Register(nodeProvider); var result = vnf.Get("/upload2/"); Assert.That(result, Is.Not.Null); Assert.That(result.Name, Is.EqualTo("upload2")); }
public void Get_UploadFolder2() { fs.CreateDirectory("/upload2/"); config.UploadFolders.Add("/upload2/"); initializer = new VirtualFolderInitializer(host, persister, fs, vnf, monitor, new UploadFolderSource(host, config), nodeProvider); initializer.Start(); vnf.Register(nodeProvider); var result = vnf.Get("/upload2/"); Assert.That(result, Is.Not.Null); Assert.That(result.Name, Is.EqualTo("upload2")); }