コード例 #1
0
        public void RouteDeleteModel_ShouldReturnCorrectTypes()
        {
            var application = _fixture.Create <ApplicationViewModel>();

            servicoAplicacaoApplication.Setup(s => s.Remove(application));

            var retorno = applicationController.Delete(application);

            Assert.IsType <OkResult>(retorno);
        }