예제 #1
0
        public async Task GetListFileSystemBackground()
        {
            var logger = new Mock <ILogger>();
            var rpc    = new OmvHttpService(logger.Object, new LocalIHttpClient());
            var omvFileSystemMgmtClient = new OmvFileSystemMgmtClient(rpc);

            Assert.IsNotNull(omvFileSystemMgmtClient);
            var result = await omvFileSystemMgmtClient.GetListFileSystemBackground();

            Assert.AreEqual("FileSystemMgmt_getListBg_result", result);
        }
 public Task <string> GetListFileSystemBackground()
 {
     return(_omvFileSystemMgmtClient.GetListFileSystemBackground());
 }