public void Can_Get_Greeting() { // Arrange const string expected = "Hello World"; // Act var actual = _greetingService.Get(); // Assert Assert.AreEqual(expected, actual); }
public async Task <Greeting> Get(int id) { return(await _greetingService.Get(id)); }
public string Get() { return(_greetingService.Get()); }