public void TestIsSubmitProductInfoButtonEnabled()
 {
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_PRODUCTS_MANAGEMENT_TAB_PAGE_STATE, ProductsManagementTabPageState.EditProduct);
     Assert.IsFalse(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_CURRENT_SELECTED_PRODUCT, new Product(TestDefinition.DUMP_INTEGER, TestDefinition.DUMP_STRING, TestDefinition.DUMP_STRING, new Money(TestDefinition.DUMP_INTEGER), TestDefinition.DUMP_INTEGER, TestDefinition.DUMP_STRING, TestDefinition.DUMP_STRING));
     Assert.IsFalse(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_IS_VALID_PRODUCT_INFO, true);
     Assert.IsFalse(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_IS_EDITED_PRODUCT_INFO, true);
     Assert.IsTrue(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_PRODUCTS_MANAGEMENT_TAB_PAGE_STATE, ProductsManagementTabPageState.AddProduct);
     Assert.IsTrue(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
     _target.SetFieldOrProperty(MEMBER_VARIABLE_NAME_IS_VALID_PRODUCT_INFO, false);
     Assert.IsFalse(_productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled());
 }
 /// <summary>
 /// Updates the submit product information button view.
 /// </summary>
 private void UpdateSubmitProductInfoButtonView()
 {
     _submitProductInfoButton.Enabled = _productsManagementTabPagePresentationModel.IsSubmitProductInfoButtonEnabled();
 }