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

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

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