public async Task AddTest() { var fakeRepository = Mock.Of <ILikeRepository>(); var likeService = new LikeService(fakeRepository); var like = new Like() { Active = true, ProfileId = 1 }; await likeService.AddAndSafe(like); }