public void EntitasExceptionIgnoresHintWhenNull() { const string msg = "Message"; string hint = null; var ex = new EntitasReduxException(msg, hint); Assert.AreEqual(msg, ex.Message); }
public void ValidateExceptionFormat() { const string msg = "Message"; const string hint = "Hint"; var ex = new EntitasReduxException(msg, hint); Assert.AreEqual(msg + "\n" + hint, ex.Message); }