public void EntityGetWithIdTest()
        {
            using (var repo = new RepositoryMock())
            {
                var target = new EntitiesController(repo);

                var result = target.Get(2);

                Assert.AreEqual(1, repo.TimesCalled);
            }
        }
        public void EntityGetTest()
        {
            using (var repo = new RepositoryMock())
            {
                var target = new EntitiesController(repo);

                IEnumerable <Entity> result = target.Get();

                Assert.AreEqual(1, repo.TimesCalled);
            }
        }