diff --git a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Attributes/PickNegativeAttributeTests.cs b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Attributes/PickNegativeAttributeTests.cs index 76728c62..7bca6792 100644 --- a/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Attributes/PickNegativeAttributeTests.cs +++ b/src/Objectivity.AutoFixture.XUnit2.Core.Tests/Attributes/PickNegativeAttributeTests.cs @@ -91,7 +91,8 @@ public void GivenUninitializedArgument_WhenGetCustomizationIsInvoked_ThenExcepti Action act = () => attribute.GetCustomization(null); // Assert - act.Should().Throw().And.ParamName.Should().Be("parameter"); + act.Should().Throw() + .And.ParamName.Should().Be("parameter"); } [MemberData(nameof(CustomizationUsageTestData))] @@ -114,11 +115,12 @@ public void GivenSupportedNumericType_WhenGetCustomizationIsInvoked_ThenReturnsN item = (T)fixture.Create(request.Object, new SpecimenContext(fixture)); // Assert - item.Should().BeOfType(type).And.Match(x => x.CompareTo(zero) < 0); + item.Should().BeOfType(type) + .And.Match(x => x.CompareTo(zero) < 0); } [MemberData(nameof(CustomizationUsageTestData))] - [Theory(DisplayName = "GIVEN supported numeric array type WHEN GetCustomization is invoked THEN returns negative value")] + [Theory(DisplayName = "GIVEN supported numeric array type WHEN GetCustomization is invoked THEN returns negative values")] public void GivenSupportedNumericArrayType_WhenGetCustomizationIsInvoked_ThenReturnsNegativeValues( T item) where T : IComparable @@ -160,15 +162,16 @@ public void GivenSupportedEnumType_WhenGetCustomizationIsInvoked_ThenReturnsNega var result = (Enum)fixture.Create(request.Object, new SpecimenContext(fixture)); // Assert - result.Should().BeOfType(type).And.BeOneOf(expectedValues); + result.Should().BeOfType(type) + .And.BeOneOf(expectedValues); } [InlineData(SignedByteNumbers.MinusTwo, SignedByteNumbers.MinusOne)] [InlineData(ShortNumbers.MinusTwo, ShortNumbers.MinusOne)] [InlineData(IntNumbers.MinusTwo, IntNumbers.MinusOne)] [InlineData(LongNumbers.MinusTwo, LongNumbers.MinusOne)] - [Theory(DisplayName = "GIVEN supported enum array type WHEN GetCustomization is invoked THEN returns negative value")] - public void GivenSupportedEnumArrayType_WhenGetCustomizationIsInvoked_ThenReturnsNegativeValue( + [Theory(DisplayName = "GIVEN supported enum array type WHEN GetCustomization is invoked THEN returns negative values")] + public void GivenSupportedEnumArrayType_WhenGetCustomizationIsInvoked_ThenReturnsNegativeValues( params Enum[] expectedValues) { // Arrange