LCOV - code coverage report
Current view: top level - Cqrs.Tests/Substitutes - TestSnapshotStore.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 3 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : using System;
       2             : using Cqrs.Snapshots;
       3             : 
       4             : namespace Cqrs.Tests.Substitutes
       5             : {
       6             :         public class TestSnapshotStore : ISnapshotStore
       7           0 :         {
       8             :                 public bool VerifyGet { get; private set; }
       9             : 
      10             :                 public bool VerifySave { get; private set; }
      11             : 
      12             :                 public int SavedVersion { get; private set; }
      13             : 
      14           0 :                 public Snapshot Get(Guid id)
      15             :                 {
      16             :                         VerifyGet = true;
      17             :                         return new TestSnapshotAggregateSnapshot();
      18             :                 }
      19             : 
      20           0 :                 public void Save(Snapshot snapshot)
      21             :                 {
      22             :                         VerifySave = true;
      23             :                         SavedVersion = snapshot.Version;
      24             :                 }
      25             :         }
      26             : }

Generated by: LCOV version 1.10