diff --git a/src/Maersk.Test.AutoFixtureExtensions/AutoNSubstituteWithMembersCustomization.cs b/src/Maersk.Test.AutoFixtureExtensions/AutoNSubstituteWithMembersCustomization.cs
new file mode 100644
index 0000000..2ae08ce
--- /dev/null
+++ b/src/Maersk.Test.AutoFixtureExtensions/AutoNSubstituteWithMembersCustomization.cs
@@ -0,0 +1,21 @@
+// Copyright (c) Maersk. All rights reserved.
+// Licensed under the Apache License. See LICENSE in the project root for license information.
+
+namespace Maersk.Test.AutoFixtureExtensions;
+
+using AutoFixture.AutoNSubstitute;
+
+///
+/// Inherits from and sets 'ConfigureMembers' to true.
+///
+public class AutoNSubstituteWithMembersCustomization : AutoNSubstituteCustomization
+{
+ ///
+ /// Initializes a new instance of the class.
+ /// Sets 'ConfigureMembers' to true.
+ ///
+ public AutoNSubstituteWithMembersCustomization()
+ {
+ ConfigureMembers = true;
+ }
+}
diff --git a/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj b/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
index 9d531b3..438021c 100644
--- a/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
+++ b/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
@@ -1,32 +1,33 @@
-
- net6.0
- enable
- enable
- 1.3.1
- Service Delivery
- A.P. Møller - Mærsk
- https://github.com/MaerskTech/maersk-test-autofixture-extensions
- https://github.com/MaerskTech/maersk-test-autofixture-extensions
- git
- Apache-2.0
- README.md
- unittest autofixture
- AutoFixture extensions for unit testing.
- icon.png
- true
- true
- snupkg
- true
- true
- $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
-
+
+ net6.0
+ enable
+ enable
+ 1.4.0
+ Service Delivery
+ A.P. Møller - Mærsk
+ https://github.com/MaerskTech/maersk-test-autofixture-extensions
+ https://github.com/MaerskTech/maersk-test-autofixture-extensions
+ git
+ Apache-2.0
+ README.md
+ unittest autofixture
+ AutoFixture extensions for unit testing.
+ icon.png
+ true
+ true
+ snupkg
+ true
+ true
+ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Maersk.Test.AutoFixtureExtensions.Tests/AutoNSubstituteWithMembersCustomizationTest.cs b/test/Maersk.Test.AutoFixtureExtensions.Tests/AutoNSubstituteWithMembersCustomizationTest.cs
new file mode 100644
index 0000000..a02e990
--- /dev/null
+++ b/test/Maersk.Test.AutoFixtureExtensions.Tests/AutoNSubstituteWithMembersCustomizationTest.cs
@@ -0,0 +1,24 @@
+// Copyright (c) Maersk. All rights reserved.
+// Licensed under the Apache License. See LICENSE in the project root for license information.
+
+namespace Maersk.Test.AutoFixtureExtensions.Tests;
+
+using FluentAssertions;
+using Maersk.Test.AutoFixtureExtensions;
+using Xunit;
+
+[Trait(nameof(Category), Category.Unit)]
+public sealed class AutoNSubstituteWithMembersCustomizationTest
+{
+ [Trait(nameof(Category), Category.Unit)]
+ public sealed class Constructor
+ {
+ [Fact]
+ public void Given_no_input_When_creating_an_instance_Then_it_sets_ConfigureMembers_true()
+ {
+ var result = new AutoNSubstituteWithMembersCustomization();
+
+ result.ConfigureMembers.Should().BeTrue();
+ }
+ }
+}
diff --git a/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj b/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
index ded1f97..eb6b536 100644
--- a/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
+++ b/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
@@ -11,9 +11,9 @@
-
-
-
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all