-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests for AutoNSubstituteWithMembersCustomization
- Loading branch information
1 parent
5875093
commit e0e5aa0
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
test/Maersk.Test.AutoFixtureExtensions.Tests/AutoNSubstituteWithMembersCustomizationTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters