federatedRequests = new LinkedList<FederatedRequest>();
children = new ArrayList<ProjectedNode>();
properties = new HashMap<Name, Property>();
// Set up the connection factory and connection ...
connectionForSourceA = new MockRepositoryConnection(sourceNameA);
connectionForSourceB = new MockRepositoryConnection(sourceNameB);
connectionForSourceC = new MockRepositoryConnection(sourceNameC);
stub(connectionFactory.createConnection(sourceNameA)).toReturn(connectionForSourceA);
stub(connectionFactory.createConnection(sourceNameB)).toReturn(connectionForSourceB);
stub(connectionFactory.createConnection(sourceNameC)).toReturn(connectionForSourceC);
// Stub the FederatedRepository ...