public void CreateReturnsCorrectResult() { // Arrange var expectedSpecimen = new object(); var sut = new FixedBuilder(expectedSpecimen); // Act var dummyRequest = new object(); var dummyContext = new DelegatingSpecimenContext(); var result = sut.Create(dummyRequest, dummyContext); // Assert Assert.Equal(expectedSpecimen, result); }
public void CreateReturnsCorrectResult() { // Fixture setup var expectedSpecimen = new object(); var sut = new FixedBuilder(expectedSpecimen); // Exercise system var dummyRequest = new object(); var dummyContext = new DelegatingSpecimenContext(); var result = sut.Create(dummyRequest, dummyContext); // Verify outcome Assert.Equal(expectedSpecimen, result); // Teardown }