public void Evicted_Known_Ping_Message_Sets_Contacted_Neighbour_As_UnReachable_And_Can_RollBack_State() { var cacheEntriesByRequest = new Dictionary <ByteString, ICacheEntry>(); var seedState = DiscoveryHelper.MockSeedState(_ownNode, _settings); var seedOrigin = HastingsOriginator.Default; seedOrigin.RestoreMemento(seedState); var stateCareTaker = new HastingsCareTaker(); var stateHistory = new Stack <IHastingsMemento>(); stateHistory.Push(seedState); stateHistory = DiscoveryHelper.MockMementoHistory(stateHistory, 5); //this isn't an angry pirate this is just 5 stateHistory.Last().Neighbours.First().StateTypes = NeighbourStateTypes.Responsive; stateHistory.ToList().ForEach(i => stateCareTaker.Add(i)); var stateCandidate = DiscoveryHelper.MockOriginator(default,