Exemplo 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>();
        }
Exemplo n.º 2
0
 public Therapy AddTherapy(Therapy therapy)
 {
     return(therapyService.AddTherapy(therapy));
 }