Esempio n. 1
0
        public async Task AddTherapyReturnsCorrectType()
        {
            var newTherapy = ModelFakes.TherapyFake.Generate();

            newTherapy.Type = _testTherapyMains[0].Type;

            var returnTherapy = await _testTherapyService.AddTherapy(newTherapy);

            returnTherapy.Should().BeOfType <Therapy>();
        }
Esempio n. 2
0
 public Therapy AddTherapy(Therapy therapy)
 {
     return(therapyService.AddTherapy(therapy));
 }