Exemplo n.º 1
0
        public void when_calling_execute_returns_continuation_to_home()
        {
            var handler = new BooksCreate.PostHandler();
            var result = handler.Execute(new BooksCreate.CreateRequestModel());

            result.AssertWasRedirectedTo<Home.GetHandler>(x => x.Execute());
        }
Exemplo n.º 2
0
 public void when_calling_execute_return_is_not_null()
 {
     var handler = new BooksCreate.PostHandler();
     Assert.IsNotNull(handler.Execute(new BooksCreate.CreateRequestModel()));
 }