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