Ejemplo n.º 1
0
        public void GetFullName_ReturnFullName(string fullname)
        {
            // Act
            var bogus = new Mock <IBogusProvider>();

            bogus.Setup(o => o.FullName())
            .Returns(fullname);
            ((FakerGenerator)generator).bogus.Value = bogus.Object;
            generator.FullName().Should().Be(fullname);
        }