11// -----------------------------------------------------------------------------
2- // <copyright file="DSCv3ResourceCommands .cs" company="Microsoft Corporation">
2+ // <copyright file="DSCv3PackageResourceCommand .cs" company="Microsoft Corporation">
33// Copyright (c) Microsoft Corporation. Licensed under the MIT License.
44// </copyright>
55// -----------------------------------------------------------------------------
@@ -16,7 +16,7 @@ namespace AppInstallerCLIE2ETests
1616 /// </summary>
1717 [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "StyleCop.CSharp.SpacingRules" , "SA1010:Opening square brackets should be spaced correctly" , Justification = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3687 pending SC 1.2 release" ) ]
1818 [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "StyleCop.CSharp.SpacingRules" , "SA1011:Closing square brackets should be spaced correctly" , Justification = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3687 pending SC 1.2 release" ) ]
19- public class DSCv3ResourceCommands : DSCv3ResourceTestBase
19+ public class DSCv3PackageResourceCommand : DSCv3ResourceTestBase
2020 {
2121 private const string DefaultPackageIdentifier = Constants . ExeInstallerPackageId ;
2222 private const string DefaultPackageLowVersion = "1.0.0.0" ;
@@ -152,9 +152,7 @@ public void Package_Test_NotPresent()
152152 Assert . AreEqual ( packageResourceData . Identifier , output . Identifier ) ;
153153 Assert . False ( output . InDesiredState ) ;
154154
155- Assert . IsNotNull ( diff ) ;
156- Assert . AreEqual ( 1 , diff . Count ) ;
157- Assert . AreEqual ( ExistPropertyName , diff [ 0 ] ) ;
155+ AssertDiffState ( diff , [ ExistPropertyName ] ) ;
158156 }
159157
160158 /// <summary>
0 commit comments