public void Can_GetValue(string subKey, string name, string expectedValue) { var retrievedValue = RegistryTool.GetLocalMachineValue(subKey, name); Assert.AreEqual(expectedValue, retrievedValue); }
public void Can_GetValueNotExists(string subKey, string name, string expectedValue) { var retrievedValue = RegistryTool.GetLocalMachineValue(subKey, name); Assert.IsNull(retrievedValue); }