public void getDonarByIdTest() { var donarRepository = new DonorRepository(donarcontextmock.Object, orgcontextmock.Object); var donartest = donarRepository.GetById(1); Assert.IsNotNull(donartest); }