public async Task <ShortenResult> Shorten(string longUrl) { BitlyShortenResult result = await ShortenInternal(longUrl); return(new ShortenResult { ShortUrl = result?.ShortUrl, LongUrl = result?.LongUrl }); }
protected override void Because_of() { result = Sut.ShortenUrl(input); }