public void TestStatusNonPosix() { var status = KuduStatus.Aborted("foo"); Assert.False(status.IsOk); Assert.True(status.IsAborted); Assert.Equal(ErrorCode.Aborted, status.Code); Assert.Equal("foo", status.Message); Assert.Equal(-1, status.PosixCode); Assert.Equal("Aborted: foo", status.ToString()); }