public void GetByIdTest()
        {
            var orgrepo = new OrganisationRepository(orgcontextmock.Object);
            var org     = orgrepo.GetById(4);

            Assert.AreEqual(4, org.Id);
        }
Ejemplo n.º 2
0
 public Organisation GetById(string id)
 {
     return(repo.GetById(id));
 }