Exemplo n.º 1
0
        public async Task GetPhysicalComputersAsync_NoErrorWhileExecutingWMIQuery_ReturnsResultWithSuccess()
        {
            //Arrange
            //Act
            var result = await _service.GetPhysicalComputersAsync();

            //Assert
            Assert.NotNull(result);
            Assert.True(result.IsSuccess);
            Assert.Null(result.Exception);
            Assert.NotNull(result.Output);
            Assert.True(result.Output.Count() == 1);
        }