public void ReturnsCorrectType() { var dts = new TestDTS(); Assert.IsInstanceOf <TemplateOne> (dts.SelectTemplate(1d, null)); Assert.IsInstanceOf <TemplateTwo> (dts.SelectTemplate("test", null)); }
public void NestingThrowsException() { var dts = new TestDTS(); Assert.Throws <NotSupportedException> (() => dts.SelectTemplate((byte)0, null)); }
public void Constructor() { var dts = new TestDTS(); }
public void NestingThrowsException () { var dts = new TestDTS (); Assert.Throws<NotSupportedException> (() => dts.SelectTemplate ((byte)0, null)); }
public void ReturnsCorrectType () { var dts = new TestDTS (); Assert.IsInstanceOf<TemplateOne> (dts.SelectTemplate (1d, null)); Assert.IsInstanceOf<TemplateTwo> (dts.SelectTemplate ("test", null)); }
public void Constructor () { var dts = new TestDTS (); }