Unverified Commit 0f1f53e1 authored by Kevin Rich's avatar Kevin Rich Committed by GitHub

Update ToDoItemMarkCompleteShould

Changed Assertion to Single
parent f2cb9398
...@@ -24,8 +24,8 @@ namespace CleanArchitecture.Tests.Core.Entities ...@@ -24,8 +24,8 @@ namespace CleanArchitecture.Tests.Core.Entities
item.MarkComplete(); item.MarkComplete();
Assert.Equal(1, item.Events.Count()); Assert.Single(item.Events);
Assert.IsType<ToDoItemCompletedEvent>(item.Events.First()); Assert.IsType<ToDoItemCompletedEvent>(item.Events.First());
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment