Exemplo n.º 1
0
        public FieldProblem_leftend()
        {
            viewMock  = MockRepository.Mock <IAddAlbumPresenter>();
            albumMock = MockRepository.Mock <IAlbum>();

            viewMock.ExpectEvent(x => x.Save += Arg <EventHandler <EventArgs> > .Is.NotNull);
        }
		public FieldProblem_leftend()
		{
            viewMock = MockRepository.Mock<IAddAlbumPresenter>();
            albumMock = MockRepository.Mock<IAlbum>();

            viewMock.ExpectEvent(x => x.Save += Arg<EventHandler<EventArgs>>.Is.NotNull);
		}
Exemplo n.º 3
0
        public FieldProblem_leftend()
        {
            viewMock = MockRepository.Mock <IAddAlbumPresenter>();
            viewMock.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
            albumMock = MockRepository.Mock <IAlbum>();
            albumMock.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);

            viewMock.ExpectEvent(x => x.Save += Arg <EventHandler <EventArgs> > .Is.NotNull);
        }