コード例 #1
0
        public void TesteRetornar1Cliente()
        {
            var clienteRepository         = new ClienteRepositoriyMock();
            var clienteEnderecoRepository = new ClienteEnderecoRepositoriyMock();
            var EnderecoRepository        = new EnderecoRepositoriyMock();
            var _clienteService           = new ClienteService(clienteRepository, clienteEnderecoRepository, EnderecoRepository);


            var cli = _clienteService.RetornarCliente(1);

            Assert.AreEqual(1, cli.Result.IdCliente);
        }