public void Should_Configure_Binder_With_Instance() { var binder = new TestBinder(); AutoFaker.SetBinder(binder); AutoFaker.DefaultConfig.Binder.Should().Be(binder); }
public void Dispose() { // Clear the binder to ensure other tests are not affected - its static AutoFaker.SetBinder(null); }
public void Should_Configure_Binder() { AutoFaker.SetBinder <TestBinder>(); AutoFaker.DefaultConfig.Binder.Should().BeOfType <TestBinder>(); }
public void Should_Set_Binder() { AutoFaker.SetBinder <TestBinder>(); AutoFaker.DefaultBinder.Should().BeOfType <TestBinder>(); }