portSearchRequest.setName(PORTFOLIO_NAME);
PortfolioSearchResult portSearchResult = new PortfolioSearchResult();
when(portfolioMaster.search(portSearchRequest)).thenReturn(portSearchResult);
ManageablePortfolioNode rootNode = new ManageablePortfolioNode(PORTFOLIO_NAME);
rootNode.setUniqueId(UniqueId.of("abc", "123"));
ManageablePortfolio portfolio = new ManageablePortfolio(PORTFOLIO_NAME, rootNode);
PortfolioDocument portfolioDocument = new PortfolioDocument();
portfolioDocument.setPortfolio(portfolio);
when(portfolioMaster.add(any(PortfolioDocument.class))).thenReturn(portfolioDocument);
// file to masters