ListResources(Monitoring monitoringService,String projectResource,PrintStream os){
  this.monitoringService=monitoringService;
  this.projectResource=projectResource;
  this.outputStream=os;
}

ListResources ( Monitoring monitoringService , String projectResource , PrintStream os ) { this . monitoringService = monitoringService ; this . projectResource = projectResource ; this . outputStream = os ; }
package private that accepts output stream for integration test .
