public void RulerIsEnabled() { tlog.Debug(tag, $"RulerIsEnabled START"); using (DefaultRuler ruler = new DefaultRuler()) { var testingTarget = new Ruler(ruler.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Can't create success object Ruler."); Assert.IsInstanceOf <Ruler>(testingTarget, "Should return Ruler instance."); var result = testingTarget.IsEnabled(); tlog.Debug(tag, "Type : " + result); testingTarget.Dispose(); } tlog.Debug(tag, $"RulerIsEnabled END (OK)"); }