public void Can_find_entities_by_using_predicate()
        {
            var entity     = Substitute.For <IAggregate>();
            var repository = new InMemoryTestRepository();

            repository.CurrentState.Add(entity);

            var foundEntity = repository.Find(e => e.Id == entity.Id).ToList();

            Assert.AreEqual(foundEntity[0], entity);
        }