public void Getir_CorrectResponse_WhenWithCorrectParameters() { var request = new TcmbKurRequest { Kod = "USD", Tip = DovizType.ALIS }; var result = new TcmbKurlar().Getir(request); Assert.True(result is TcmbKurResponse); }
public void Satis_CorrectResponse_WhenWithKur() { var result = new TcmbKurlar().Satis("USD"); Assert.True(result is TcmbKurResponse); }
public void Aktar_CorrectResponse_WhenWithSort() { var result = new TcmbKurlar().Aktar(TcmbAktarFormat.CSV, TcmbKurSort.ASC); Assert.True(result is string); }
public void GetirListe_CorrectResponse_WhenWithSort() { var result = new TcmbKurlar().GetirListe(DovizType.ALIS, TcmbKurSort.ASC); Assert.True(result is List <TcmbKurResponse>); }
public void Satis_CorrectResponse_WhenWithDovizType() { var result = new TcmbKurlar().Satis("USD", DovizType.SATIS); Assert.True(result is TcmbKurResponse); }