public void MockingException() { InvalidOperationException mock = MockRepository.Mock <InvalidOperationException>(); mock.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); Assert.NotNull(mock); }
public void MockingException() { InvalidOperationException mock = MockRepository.Mock <InvalidOperationException>(); mock.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault); Assert.NotNull(mock); }