public void apaga_por_idsha1() { var respostaSimuladaJSON = "{\"IdSha1\":\"8E45063BEB9B473C6232F5B764D893E5F310CAED\",\"Nome\":\"a\",\"Descricao\":\"a\",\"Texto\":\"a\"}"; _repositorioArquivoEscripteMock.Setup(x => x.Ler(It.IsAny<string>())).Returns(respostaSimuladaJSON); _gerenciadorEscriptes = new GerenciadorEscriptes(_repositorioArquivoEscripteMock.Object, _configuracaoGerenciador.Object); _gerenciadorEscriptes.Remover("8E45063BEB9B473C6232F5B764D893E5F310CAED"); }
public void InicializarServico() { _repositorioArquivoEscripteMock = new Mock<IRepositorioArquivoTexto>(); _configuracaoGerenciador = new Mock<IConfiguracaoGerenciador>(); _gerenciadorEscriptes = new GerenciadorEscriptes(_repositorioArquivoEscripteMock.Object, _configuracaoGerenciador.Object); }