public void Can_Get_Greeting()
        {
            // Arrange
            const string expected = "Hello World";

            // Act
            var actual = _greetingService.Get();

            // Assert
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
 public async Task <Greeting> Get(int id)
 {
     return(await _greetingService.Get(id));
 }
예제 #3
0
 public string Get()
 {
     return(_greetingService.Get());
 }