public async void Deve_Ler_Um_Selo_Da_Api() { //Arranje SeloAPI apiSeladora = new SeloAPI(_apiUrl); //Act var selo = await apiSeladora.LerSelo(_codSelo); //Assert Assert.Equal(_codSelo, selo.Codigo); }
public SeloController(string url) { _apiSeladora = new SeloAPI(url); _escritorJSON = new EscritorJSON(); }