Exemplo n.º 1
0
                public void Should_Configure_Binder_With_Instance()
                {
                    var binder = new TestBinder();

                    AutoFaker.SetBinder(binder);

                    AutoFaker.DefaultConfig.Binder.Should().Be(binder);
                }
Exemplo n.º 2
0
 public void Dispose()
 {
     // Clear the binder to ensure other tests are not affected - its static
     AutoFaker.SetBinder(null);
 }
Exemplo n.º 3
0
                public void Should_Configure_Binder()
                {
                    AutoFaker.SetBinder <TestBinder>();

                    AutoFaker.DefaultConfig.Binder.Should().BeOfType <TestBinder>();
                }
Exemplo n.º 4
0
            public void Should_Set_Binder()
            {
                AutoFaker.SetBinder <TestBinder>();

                AutoFaker.DefaultBinder.Should().BeOfType <TestBinder>();
            }