Exemple #1
0
        public void TestGetAllParticipacoes()
        {
            //Arranjo
            var controller = new FuncionarioController(_context);

            //Aчуo
            var result = controller.GetAllParticipacoes(70000);

            //Assert
            var okResult           = result.Should().BeOfType <ObjectResult>().Subject;
            var participacaoResult = okResult.Value.Should().BeAssignableTo <Participacoes>().Subject;

            participacaoResult.participacoes.Should().NotBeNull();
        }