public ServicoAnuncio(IRepositorioAnuncio repositorioDeAnuncios, IRepositorioAutomovel repositorioDeAutomovel, IRepositorioEstatisticaAnuncio repositorioEstatisticaAnuncio, IServicoAnunciante servicoDeAnunciante) { this.repositorioDeAnuncios = repositorioDeAnuncios; this.servicoDeAnunciante = servicoDeAnunciante; this.repositorioEstatisticaAnuncio = repositorioEstatisticaAnuncio; this.repositorioDeAutomovel = repositorioDeAutomovel; }
public ServicoAnuncianteTest() { this.repositorioAnuncianteMock = new Mock<IRepositorioAnunciante>(); target = new ServicoAnunciante(repositorioAnuncianteMock.Object); }