xunit setup throw exception

101

xunit setup throw exception -

Mock<ISomeObj> someObj = new Mock<ISomeObj>();

//NOTE the Throws method
someObj.Setup(s => s.Get())
  .Throws(new IOException());

Comments

Submit
0 Comments