Exemplo n.º 1
0
 public void WrongConstructorArgumentType()
 {
     Assert.ThrowsException <ArgumentException>(() => GeneratorBuilder.BuildGenerator(typeof(WrongConstructorArgumentTypeClass), 20));
 }
Exemplo n.º 2
0
 public void WrongType()
 {
     Assert.ThrowsException <ArgumentException>(() => GeneratorBuilder.BuildGenerator(typeof(int)));
 }