public void ValidationSearchPersoneFromPresenterExecuteCommandTest() { FormPersonne f = new FormPersonne(); PresenterPersonne2 p = new PresenterPersonne2(f); p.Start(); p.ExecuteCommand("Test"); Assert.IsNotNull(f.ViewLogics.ContextValidationMessage); }
public void ValidationSearchPersoneFromPresenterTest() { FormPersonne f = new FormPersonne(); PresenterPersonne p = new PresenterPersonne(f); p.Start(); //TEST les erreurs dans le l'initialisation du presenter. Assert.IsNotNull(f.ViewLogics.ContextValidationMessage); }