public void testCsvToMastersToCsv() throws Exception {
PortfolioCopier portfolioCopier = new SimplePortfolioCopier();
PositionMaster positionMaster = new InMemoryPositionMaster();
SecurityMaster securityMaster = new InMemorySecurityMaster();
SecuritySource securitySource = new MasterSecuritySource(securityMaster);
// Set up mock portfolio master
PortfolioMaster portfolioMaster = mock(PortfolioMaster.class);
PortfolioSearchRequest portSearchRequest = new PortfolioSearchRequest();