public void ProviderShouldBeOverridenWhenSpfandDkimFailAndOnBlocklist(DmarcResult spfResult, DmarcResult dkimResult, int blocklistCount, string expectedProvider, string originalProvider) { AggregateReportRecordEnriched aggregateReportRecordEnriched = CreateTestRecord(spfResult, dkimResult, blockListCount: blocklistCount); EslrSaverRecord result = aggregateReportRecordEnriched.ToEslrSaverRecord(); Assert.AreEqual(expectedProvider, result.Provider); Assert.AreEqual(originalProvider, result.OriginalProvider); }