public void GetById_Returns_A_Concept_When_It_Exists() { const int conceptId = 3; var concept = Mock.MockConcept(_status); concept.Id = conceptId; A.CallTo(() => ConceptRepository.GetById(conceptId)).Returns(concept); var response = Service.GetConceptById(conceptId); Assert.NotNull(response.Data); Assert.IsType <ConceptDto>(response.Data); }