Akka.Persistence.TestKit.Snapshot.SnapshotStoreSpec.SnapshotStore_should_load_the_most_recent_snapshot C# (CSharp) Méthode

SnapshotStore_should_load_the_most_recent_snapshot() private méthode

private SnapshotStore_should_load_the_most_recent_snapshot ( ) : void
Résultat void
        public void SnapshotStore_should_load_the_most_recent_snapshot()
        {
            SnapshotStore.Tell(new LoadSnapshot(Pid, SnapshotSelectionCriteria.Latest, long.MaxValue), _senderProbe.Ref);
            _senderProbe.ExpectMsg<LoadSnapshotResult>(result => 
                result.ToSequenceNr == long.MaxValue 
                && result.Snapshot != null 
                && result.Snapshot.Metadata.Equals(Metadata[4])
                && result.Snapshot.Snapshot.ToString() == "s-5");
        }