Beispiel #1
0
        public void AllTestsForDashboard_Should_Call_TestRepo_All()
        {
            // Arrange
            testRepoMock.Setup(x => x.All).Verifiable();

            // Act
            var tests = testService.AllTestsForDashBoard();

            // Assert
            testRepoMock.Verify(x => x.All, Times.Once);
        }