public void Setup()
 {
     Moq.Mock<ISeriePropertyPresenter> mockSeriePropertyPresenter = new Moq.Mock<ISeriePropertyPresenter>();
     mockSeriePropertyPresenter.SetupAllProperties();
     m_MockSeriePropertyPresenter = mockSeriePropertyPresenter.Object;
     m_MockSeriePropertyPresenter.NewSerieButton = new Button();
     m_MockSeriePropertyPresenter.NewFigurButton = new Button();
     m_MockSeriePropertyPresenter.SaveButton = new Button();
     m_MockSeriePropertyPresenter.DeleteButton = new Button();
     m_MockSeriePropertyPresenter.CancelButton = new Button();
     m_MockSeriePropertyPresenter.ErrorMessage = new Label();
     m_MockSeriePropertyPresenter.Name = new TextBox();
     m_MockSeriePropertyPresenter.Description = new TextBox();
     m_MockSeriePropertyPresenter.PublicationYear = new TextBox();
     m_MockSeriePropertyPresenter.ChooseCategory = new DropDownList();
 }
 public void Teardown()
 {
     m_MockSeriePropertyPresenter = null;
 }
 public SeriePropertyPresenter(ISeriePropertyPresenter seriePropertyPresenter)
 {
     m_SeriePropertyPresenter = seriePropertyPresenter;
 }