public void ShouldSucceed()
 {
     var instance = new Dhgms.Nucleotide.Helper.Information();
     var cgp = new MockClassGenerationParameters(
             MainNamespaceName,
             SubNamespace,
             ClassNameDefaultBase,
             propertiesLists,
             null,
             null,
     null, 2010, null, ClassRemarks);
     Console.Write(instance.Generate(cgp));
 }
Exemple #2
0
 /// <summary>
 /// The throws argument null exception.
 /// </summary>
 public void ThrowsArgumentNullException()
 {
     var instance = new Dhgms.Nucleotide.Helper.Information();
     var cgp = new MockClassGenerationParameters(null, null, null, null, null, null, null, 2010, null, null);
     var ex = Assert.Throws<ArgumentNullException>(() => instance.Generate(cgp));
     Assert.Equal("cgp", ex.ParamName);
 }