public async void VerifyBogusPathNotExist_ServiceApi_LocalInstance() { var service = new FileSystemQuery().Service; var request = new FileSystemQueryRequest { FolderPath = @"slkdjfslkdflsdfjlsdkjf", QueryType = FileSystemQueryTypeEnum.DirectoryExists }; var result = await service.Execute(request); var response = result.ResponseString; Xunit.Assert.False(bool.Parse(response)); }
public async void VerifyCRootExists_ServiceApi_LocalInstance() { var service = new FileSystemQuery().Service; var request = new FileSystemQueryRequest { FolderPath = @"c:", QueryType = FileSystemQueryTypeEnum.DirectoryExists }; var result = await service.Execute(request); var response = result.ResponseString; Xunit.Assert.True(bool.Parse(response)); }