public static XElement BuildNew(this IOptionTestDataCreator tdc, AutoFixtureBase autoFixture, XElement element) { tdc.WithValueType(autoFixture.Fake <OptionValueType>()); tdc.WithElement(element); return(tdc.Build(autoFixture.Fake("_"))); }
public static XElement BuildNew(this IListItemTestDataCreator tdc, AutoFixtureBase autoFixture) { tdc.WithValue(autoFixture.Fake <string>()); tdc.WithDisplayValue(autoFixture.Fake <string>()); return(tdc.Build()); }
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("_"))); }