public void GetMessage() { DatabaseException e = new DatabaseException(-8); Assert.AreEqual("Invalid parameter", e.Message); }
public void GetErrno() { DatabaseException e = new DatabaseException(13); Assert.AreEqual(13, e.ErrorCode); }