public void ItemViewGetActiveLayout() { tlog.Debug(tag, $"ItemViewGetActiveLayout START"); using (ItemFactory factory = new ItemFactory()) { var testingTarget = new ItemView(factory); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <ItemView>(testingTarget, "Should be an Instance of ItemView!"); testingTarget.AddLayout(new ItemLayout(testingTarget.SwigCPtr.Handle, true)); try { testingTarget.GetActiveLayout(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"ItemViewGetActiveLayout END (OK)"); }