public void TestCreateInstanceWithWrongDllName() { Assert.Throws <ArgumentException>( () => { TestREngine.CreateTestEngine("R.NET", "NotExist.dll"); }); }
public void TestCreateInstanceWithWrongDllName() { Assert.That(TestREngine.CreateTestEngine("R.NET", "NotExist.dll"), Throws.TypeOf <Exception>()); }
public void TestCreateInstanceWithEmpty() { Assert.That(TestREngine.CreateTestEngine(""), Throws.TypeOf <ArgumentException>()); }
public void TestCreateInstanceWithNull() { Assert.That(TestREngine.CreateTestEngine(null), Throws.TypeOf <ArgumentNullException>()); }