public async Task AddTherapyReturnsCorrectType() { var newTherapy = ModelFakes.TherapyFake.Generate(); newTherapy.Type = _testTherapyMains[0].Type; var returnTherapy = await _testTherapyService.AddTherapy(newTherapy); returnTherapy.Should().BeOfType <Therapy>(); }
public Therapy AddTherapy(Therapy therapy) { return(therapyService.AddTherapy(therapy)); }