Beispiel #1
0
        public void Get_Returns_A_Show()
        {
            var expectedId = 1;

            repo.GetById(expectedId).Returns(new Show()
            {
                ShowId = expectedId
            });

            var result = underTest.Get(expectedId);

            Assert.Equal(expectedId, result.Value.ShowId);
        }