Ejemplo n.º 1
0
        public async Task GetKundeByIdTest()
        {
            const int id      = 1;
            var       request = new GetKundeRequest {
                Id = id
            };
            var response = await _target.GetKundeByIdAsync(request);

            Assert.Equal(id, response.Id);
            Assert.Equal("Nass", response.Nachname);
            Assert.Equal("Anna", response.Vorname);
        }