public void ThrowIsRundomValueGeneratorIsNull() { Assert.Throws <ArgumentNullException>(() => { BaseSymbolGenerator.Create(new RandomDataGeneratorSettings(), null); }); }
public void ThrowIsSettingsAreNull() { Assert.Throws <ArgumentNullException>(() => { BaseSymbolGenerator.Create(null, Mock.Of <IRandomValueGenerator>()); }); }
internal static IEnumerable <Symbol> GenerateAsset(BaseSymbolGenerator instance) { var generateAsset = typeof(BaseSymbolGenerator).GetMethod("GenerateAsset", BindingFlags.NonPublic | BindingFlags.Instance); return((IEnumerable <Symbol>)generateAsset.Invoke(instance, new [] { (object)null })); }