public void FromQuadrupleParameterFactoryReturnsCorrectResult() { // Arrange var sut = new NullComposer <object>(); // Act var result = sut.FromFactory((object x, object y, object z, object æ) => new object()); // Assert Assert.Same(sut, result); }
public void FromFactoryReturnsCorrectResult() { // Arrange var sut = new NullComposer <object>(); // Act var result = sut.FromFactory(() => new object()); // Assert Assert.Same(sut, result); }
public void FromBuilderFactoryReturnsCorrectResult() { // Arrange var sut = new NullComposer <Version>(); // Act var dummyFactory = new DelegatingSpecimenBuilder(); var result = sut.FromFactory(dummyFactory); // Assert Assert.Same(sut, result); }
public void FromQuadrupleParameterFactoryReturnsCorrectResult() { // Fixture setup var sut = new NullComposer <object>(); // Exercise system var result = sut.FromFactory((object x, object y, object z, object æ) => new object()); // Verify outcome Assert.Same(sut, result); // Teardown }
public void FromBuilderFactoryReturnsCorrectResult() { // Fixture setup var sut = new NullComposer <Version>(); // Exercise system var dummyFactory = new DelegatingSpecimenBuilder(); var result = sut.FromFactory(dummyFactory); // Verify outcome Assert.Same(sut, result); // Teardown }
public void FromBuilderFactoryReturnsCorrectResult() { // Fixture setup var sut = new NullComposer<Version>(); // Exercise system var dummyFactory = new DelegatingSpecimenBuilder(); var result = sut.FromFactory(dummyFactory); // Verify outcome Assert.Same(sut, result); // Teardown }
public void FromQuadrupleParameterFactoryReturnsCorrectResult() { // Fixture setup var sut = new NullComposer<object>(); // Exercise system var result = sut.FromFactory((object x, object y, object z, object æ) => new object()); // Verify outcome Assert.Same(sut, result); // Teardown }