public async Task AddTest() { var fakeRepository = Mock.Of <ITagRepository>(); var TagService = new TagService(fakeRepository); var Tag = new Tag() { Id = 1, Color = Color.RED, TagName = "INCIDENTS" }; await TagService.AddAndSafe(Tag); }