public void TestGetDriverInfoOnOutNotOpenedGoesInException() { Out123 handle = new Out123(); Assert.That(() => handle.GetDriverInfo(), Throws.TypeOf <Out123.ErrorException>()); }