public void ProcessSingleEntry(string journalEntry, string supportedMinorFaction, IEnumerable <RedeemVoucherSummaryEntry> expectedSummaryEntries)
        {
            RedeemVoucherEntryProcessor dockedEventProcessor = new RedeemVoucherEntryProcessor();
            PilotState pilotState = new PilotState();

            pilotState.LastDockedStation = new Station("Quetelet Dock", 1, "The Sovereign Justice Collective");
            GalaxyState galaxyState = new GalaxyState();

            galaxyState.Systems[1] = new StarSystem(1, "Afli", new string[] { "The Sovereign Justice Collective", "Afli Silver Universal Exchange" });

            JObject entry = new JournalEntryParser().Parse(journalEntry);

            Assert.That(
                dockedEventProcessor.Process(pilotState, galaxyState, supportedMinorFaction, entry).Cast <RedeemVoucherSummaryEntry>(),
                Is.EquivalentTo(expectedSummaryEntries));
        }
 public FactionInfluence GetFactionInfluence(string supportedMinorFaction, string entryFaction, string stationControllingFaction, IEnumerable <string> stationMinorFactions)
 {
     return(RedeemVoucherEntryProcessor.GetFactionInfluence(supportedMinorFaction, entryFaction, stationControllingFaction, stationMinorFactions));
 }