File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public void GivenBuilderWithMethodCalls_WhenCallingBuild_ThenReturnAnObjectWithT
3232 customer . YearJoined . ShouldBe ( 2010 ) ;
3333 }
3434
35- [ Test ]
35+ [ Fact ]
3636 public void GivenBuilder_WhenCallingSet_ShouldOverrideValues ( )
3737 {
3838 var builder = new CustomerBuilder ( )
@@ -41,9 +41,10 @@ public void GivenBuilder_WhenCallingSet_ShouldOverrideValues()
4141 . Set ( x => x . YearJoined , 2014 ) ;
4242
4343 var customer = builder . Build ( ) ;
44- Assert . That ( customer . FirstName , Is . EqualTo ( "Pi" ) ) ;
45- Assert . That ( customer . LastName , Is . EqualTo ( "Lanningham" ) ) ;
46- Assert . That ( customer . YearJoined , Is . EqualTo ( 2014 ) ) ;
44+
45+ customer . FirstName . ShouldBe ( "Pi" ) ;
46+ customer . LastName . ShouldBe ( "Lanningham" ) ;
47+ customer . YearJoined . ShouldBe ( 2014 ) ;
4748 }
4849 }
4950}
You can’t perform that action at this time.
0 commit comments