public void Setup()
        {
            _mockDocumentService = new Mock<IDocumentService>();

            _mockDocumentService
                .Setup(m => m.GetStationeryLocations())
                .Returns(_locations);

            _mockDocumentService
                .Setup(m => m.GetStationeryDocumentsByLocation("barney"))
                .Returns(_barneyDocuments);

            _mockDocumentService
                .Setup(m => m.GetStationeryDocumentsByLocation("fred"))
                .Returns(_fredDocuments);

            _mockDocumentService
               .Setup(m => m.GetStationeryDocumentsByLocation("wilma"))
               .Returns(new List<Document>());

            _mockDocumentService
             .Setup(m => m.GetStationeryDocumentsByLocation("betty"))
             .Returns(new List<Document>());

            _mockDocumentService
                .Setup(m => m.GetStationeryDocumentById(123))
                .Returns(_contentDocument);

            _mockDocumentService
                .Setup(m => m.GetAllInstallationReceipts(It.IsAny<string>()))
                .Returns(InstallationReceipts);

            _mockDocumentService
                .Setup(m => m.GetAllInstallationReceipts("1"))
                .Returns(new List<InstallationReceipt>());

            _controller = new DocumentController(_mockDocumentService.Object);
            _controller.AddClaimsPrincipal(null);
        }
        private DocumentController GetTarget(Dictionary<string, string> claims = null)
        {
            DocumentController controller = new DocumentController(_mockDocumentService.Object);
               controller.AddClaimsPrincipal(claims);

               return controller;
        }