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

          Line data    Source code
       1             : using System;
       2             : using Cqrs.Tests.Substitutes;
       3             : using NUnit.Framework;
       4             : 
       5             : namespace Cqrs.Tests.Domain
       6             : {
       7             :         [TestFixture]
       8             :     public class When_replaying_events
       9           0 :     {
      10             :         private TestAggregate _aggregate;
      11             : 
      12             :                 [SetUp]
      13           0 :         public void Setup()
      14             :         {
      15             :             _aggregate = new TestAggregate(Guid.NewGuid());
      16             :         }
      17             : 
      18             :         [Test]
      19           0 :         public void Should_call_apply_if_exist()
      20             :         {
      21             :             _aggregate.DoSomething();
      22             :             Assert.AreEqual(1, _aggregate.DidSomethingCount);
      23             :         }
      24             : 
      25             :         [Test]
      26           0 :         public void Should_not_fail_apply_if_dont_exist()
      27             :         {
      28             :             _aggregate.DoSomethingElse();
      29             :             Assert.AreEqual(0, _aggregate.DidSomethingCount);
      30             :         }
      31             :     }
      32             : }

Generated by: LCOV version 1.10