Add unit test for HasRegistrySupport()

The use of the function in RegistryProvider cannot be tested without a
mock of a PowerShell cmdlet context.
This commit is contained in:
Andrew Schwartzmeyer committed 2015-07-06 12:46:38 -07:00
1 parent 3919ec8375
commit b2e3a1e2e3
2 files changed
+6

No files matched your search

+5
View File
@@ -30,5 +30,10 @@ namespace PSTests
{
Assert.False(Platform.HasDriveAutoMounting());
}
public static void TestHasRegistrySupport()
{
Assert.False(Platform.HasRegistrySupport());
}
}
}