예제 #1
0
        public static XElement BuildNew(this IOptionTestDataCreator tdc, AutoFixtureBase autoFixture, XElement element)
        {
            tdc.WithValueType(autoFixture.Fake <OptionValueType>());
            tdc.WithElement(element);

            return(tdc.Build(autoFixture.Fake("_")));
        }
예제 #2
0
        public static XElement BuildNew(this IListItemTestDataCreator tdc, AutoFixtureBase autoFixture)
        {
            tdc.WithValue(autoFixture.Fake <string>());
            tdc.WithDisplayValue(autoFixture.Fake <string>());

            return(tdc.Build());
        }
예제 #3
0
        public static XElement BuildNew(this IOptionTestDataCreator tdc, AutoFixtureBase autoFixture)
        {
            tdc.WithDisplayName(autoFixture.Fake <string>());
            tdc.WithDescription(autoFixture.Fake <string>());
            tdc.WithValueType(autoFixture.Fake <OptionValueType>());

            return(tdc.Build(autoFixture.Fake("_")));
        }