public async Task GetDetailsTestAsync(string id, bool expected) { var details = await _youTubeService.GetVideoDetailsAsync(id); Assert.Equal(expected, details.HasValue); }