public void Uint16PairSetHeight() { tlog.Debug(tag, $"Uint16PairSetHeight START"); var testingTarget = new Uint16Pair(1, 2); Assert.IsNotNull(testingTarget, "Can't create success object Uint16Pair"); Assert.IsInstanceOf <Uint16Pair>(testingTarget, "Should be an instance of Uint16Pair type."); try { testingTarget.SetHeight(1); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"Uint16PairSetHeight END (OK)"); }