public void should_map_qualityprofile() { var profileResource = new QualityProfileResource { Allowed = Builder <QualityResource> .CreateListOfSize(1).Build().ToList(), }; profileResource.InjectTo <QualityProfile>(); }
public void should_map_qualityprofile() { var profileResource = new QualityProfileResource { Cutoff = Quality.WEBDL1080p, Items = new List <QualityProfileItemResource> { new QualityProfileItemResource { Quality = Quality.WEBDL1080p, Allowed = true } } }; profileResource.InjectTo <QualityProfile>(); }