public void Test_SetToViewMode() { FigurPropertyPresenter figurPropertyPresenter = new FigurPropertyPresenter(m_MockFigurProperty); figurPropertyPresenter.SetToEditMode(); Assert.IsFalse(m_MockFigurProperty.NewFigurButton.Visible); Assert.IsTrue(m_MockFigurProperty.SaveButton.Visible); Assert.IsFalse(m_MockFigurProperty.DeleteButton.Visible); Assert.IsTrue(m_MockFigurProperty.CancelButton.Visible); }