public void GetAll() { fileRepository.Setup(f => f.GetAll()).Returns(new List <File>()); fileLogic.GetAll(); fileRepository.VerifyAll(); }