public void ShouldSetCanCloseProperly() { TabbedLayoutMock target = new TabbedLayoutMock(); TabbedLayoutMock.SetCanClose(target, true); Assert.AreEqual <bool>(true, TabbedLayoutMock.GetCanClose(target)); TabbedLayoutMock.SetCanClose(target, false); Assert.AreEqual <bool>(false, TabbedLayoutMock.GetCanClose(target)); }
public void ShouldFailSettingCanCloseForNull() { TabbedLayoutMock.SetCanClose(null, true); }