Skip to content

Commit b630faa

Browse files
committed
Update PatternGeneratorTest.cs
1 parent 0bfe7a5 commit b630faa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ObjectFiller.Test/PatternGeneratorTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using Microsoft.VisualStudio.TestTools.UnitTesting;
3-
using ObjectFiller;
43
using System.Text.RegularExpressions;
54
using System.Collections.Generic;
65
using Tynamix.ObjectFiller;
@@ -15,8 +14,8 @@ public void Must_be_able_to_handle_private_setters()
1514
{
1615
var filler = new Filler<ClassWithPrivateStuffSealed>();
1716
filler.Setup()
18-
.OnProperty(x => x.RealNameStyle).WritePrivateSetter().DoIt(At.TheEnd).Use(() => RealNameStyle.FirstNameLastName)
19-
.OnProperty(x=>x.WithPrivateSetter).WritePrivateSetter();
17+
.OnProperty(x => x.RealNameStyle).DoIt(At.TheEnd).Use(() => RealNameStyle.FirstNameLastName)
18+
.OnProperty(x=>x.WithPrivateSetter);
2019

2120

2221
var obj = filler.Create();

0 commit comments

Comments
 (0)