예제 #1
0
 public void ReturnsTrue_WhenInputIsValid(string input, string expected)
 {
     RegistryEntry.TryParseName(input, out var output)
     .Should()
     .BeTrue();
     output.Should().Be(expected);
 }
예제 #2
0
 public void ReturnsFalse_WhenInputIsInvalid(string input) =>
 RegistryEntry.TryParseName(input, out var _).Should().BeFalse();