예제 #1
0
 public ServicoAnuncio(IRepositorioAnuncio repositorioDeAnuncios,
                       IRepositorioAutomovel repositorioDeAutomovel,
                       IRepositorioEstatisticaAnuncio repositorioEstatisticaAnuncio,
                       IServicoAnunciante servicoDeAnunciante)
 {
     this.repositorioDeAnuncios = repositorioDeAnuncios;
     this.servicoDeAnunciante = servicoDeAnunciante;
     this.repositorioEstatisticaAnuncio = repositorioEstatisticaAnuncio;
     this.repositorioDeAutomovel = repositorioDeAutomovel;
 }
예제 #2
0
        public ServicoAnuncianteTest()
        {
            this.repositorioAnuncianteMock = new Mock<IRepositorioAnunciante>();

            target = new ServicoAnunciante(repositorioAnuncianteMock.Object);
        }