public void GetByIdTest() { var controller = new FavoritesController(_context); var result = controller.GetById(1); Assert.True(result != null); }