Exemple #1
0
        public void Property_Changed_Registered()
        {
            IKeyForm   form  = MockRepository.GenerateMock <IKeyForm>();
            IKey       obj   = MockRepository.GenerateMock <IKey>();
            IMainPanel panel = MockRepository.GenerateMock <IMainPanel>();

            //var presenter = new KeyPresenter(panel, form);
            //presenter.AttachToModel(obj);

            obj.AssertWasCalled(o => o.PropertyChanged += null, c => c.IgnoreArguments());
        }