public When_saving_fails()
{
_memoryCache = new MemoryCache();
_testRep = new TestRepository();
_rep = new CacheRepository(_testRep, new TestInMemoryEventStore(), _memoryCache);
_aggregate = _testRep.Get<TestAggregate>(Guid.NewGuid());
_aggregate.DoSomething();
try
{
_rep.Save(_aggregate, 100);
}
catch (Exception) { }
}