コード例 #1
0
        public async void ProfileHasTheSpectedContent()
        {
            var service = new LocalDriveService();

            var expectedID          = Environment.CommandLine;
            var expectedDescription = $"{Environment.UserName} on {Environment.MachineName}";
            var value = await service.GetProfile();

            Assert.Equal(expectedID, value.ID);
            Assert.Equal(expectedDescription, value.Description);
        }