public void Create_Creates_And_Returns_Workout() { // Arrange var expectedWorkout = new Workout { Name = "Test workout 01" }; // Act var result = RepositoryUnderTest.Create(expectedWorkout); // Assert Assert.Same(expectedWorkout, result); }
public void Create_Creates_And_Returns_Workout() { // Arrange var expectedWorkout = new Workout { Name = "Test workout 01" }; // Act var result = RepositoryUnderTest.Create(expectedWorkout); // Assert Assert.Same(expectedWorkout, result); }