public void CustomizeAddsContextDatabaseSpecimenBuilder() { var fixture = new Fixture(); var sut = new ContextDatabaseCustomization(); sut.Customize(fixture); fixture.Customizations.SingleOrDefault(x => x.GetType() == typeof(ContextDatabaseSpecimenBuilder)).Should().NotBeNull(); }
public void CustomizeThrowsIfFixtureIsNull() { var sut = new ContextDatabaseCustomization(); Assert.Throws <ArgumentNullException>(() => sut.Customize(null)); }
public void CustomizeThrowsIfFixtureIsNull() { var sut = new ContextDatabaseCustomization(); Assert.Throws<ArgumentNullException>(() => sut.Customize(null)); }