Exemplo n.º 1
0
        public void GetJobCount_ReturnsCountFromRepository()
        {
            var expectedCount = 10;

            _mockJobRepository.Setup(r => r.Count()).Returns(expectedCount);

            var actualCount = _classUnderTest.GetJobCount();

            Assert.That(actualCount, Is.EqualTo(expectedCount));
        }