public void ExceptionValidationCheck(Exception ex) { Assert.IsNotNull(ex as NMSException, "Invalid exception was thrown."); }