-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from TestStack/issue-40-fix
Issue 40 fix
- Loading branch information
Showing
5 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
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
16 changes: 16 additions & 0 deletions
16
TestStack.Dossier.Tests/TestHelpers/Builders/BuilderWithDefaults.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,16 @@ | ||
using TestStack.Dossier.Tests.TestHelpers.Objects.Entities; | ||
|
||
namespace TestStack.Dossier.Tests.TestHelpers.Builders | ||
{ | ||
public class BuilderWithDefaults : TestDataBuilder<Customer, BuilderWithDefaults> | ||
{ | ||
public const string DefaultFirstName = "Joe"; | ||
public const string DefaultLastName = "Bloggs"; | ||
|
||
public BuilderWithDefaults() | ||
{ | ||
Set(x => x.FirstName, DefaultFirstName); | ||
Set(x => x.LastName, DefaultLastName); | ||
} | ||
} | ||
} |
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
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
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