public void ValidateSpecification_NoKeyName_Exception() { // Fixture setup... var detection = new RegistryDetection(); // Exercise and verify SUT... detection.Validate(); // Fixture teardown by GC... }
public void ValidateSpecification_NoClientProfilValueName_Exception() { // Fixture setup... var detection = new RegistryDetection { ClientProfileRegistryKeyName = "keyName" }; // Exercise and verify SUT... detection.Validate(); // Fixture teardown by GC... }
public void ValidateSpecification_AllFullProps_Valid() { // Fixture setup... var detection = new RegistryDetection { FullProfileRegistryKeyName = "keyName", FullProfileValueName = "valueName", FullProfileValue = "value", VersionBuilder = new DotNetVersionBuilder() }; // Exercise and verify SUT... detection.Validate(); // Fixture teardown by GC... }