How do you set up method expectations in Moq?
mockService.Setup(s => s.GetData()).Returns("Mocked Data");
This configures the mock to return "Mocked Data" when GetData() is called.
mockService.Setup(s => s.GetData()).Returns("Mocked Data");
This configures the mock to return "Mocked Data" when GetData() is called.