public void Call_AllMethodFromRepositoryOnce()
        {
            // Arrange
            var addService = new AddsServices(this.repoMocked.Object, this.unitOfWork.Object);

            // Act
            addService.GetAllNotDeleted();

            // Assert
            this.repoMocked.Verify(x => x.All, Times.Once);
        }
        public void ReturnQueryable_WithExactNumber()
        {
            // Arrange
            var addService = new AddsServices(this.repoMocked.Object, this.unitOfWork.Object);

            // Act
            var notDeleted = addService.GetAllNotDeleted().Count();

            // Assert
            Assert.AreEqual(notDeleted, 3);
        }