public void CreateRepository_ReturnsInMemRepoInstance()
        {
            var factory = new TransactionsInMemRepositoryFactory(_dataProvider.Object);

            var result = factory.CreateRepository();

            result.Should().BeOfType(typeof(TransactionsInMemRepository));
        }
        public void CreateRepository_CalledTwice_ReturnsSameInMemRepoInstance()
        {
            var factory = new TransactionsInMemRepositoryFactory(_dataProvider.Object);

            var result  = factory.CreateRepository();
            var result2 = factory.CreateRepository();

            result2.Should().Be(result);
        }