public void HasConstructorWithAttribute_ShouldReturnFalse_IfConfigurationDoesNotHaveConstructorWithAttribute() { var checker = new IniConstructorChecker(); var result = checker.HasConstructorWithAttribute(typeof(ImmutableConfiguration)); result.Should().BeFalse(); }
public void HasConstructorWithAttribute_ShouldReturnTrue_IfConfigurationHasConstructorWithAttribute() { var checker = new IniConstructorChecker(); var result = checker.HasConstructorWithAttribute(typeof(ImmutableConfigurationWithAttribute)); result.Should().BeTrue(); }