@Test
public void shouldReturnRootNodeInBranchProjection() {
// Get the top node of the branch projection using the actual graph ...
Graph branchGraph = graphFor(branchSourceName, branchWorkspaceName);
Node branchNode = branchGraph.getNodeAt("/Aircraft");
Location branchNodeLocation = branchNode.getLocation();
assertThat(branchNodeLocation.hasIdProperties(), is(true));
assertThat(branchNodeLocation.getUuid(), is(notNullValue()));
// Get the same node through the federation source ...
Node fedNode = federated.getNodeAt("/Aircraft");
Location fedNodeLocation = fedNode.getLocation();
assertThat(fedNodeLocation.hasIdProperties(), is(true));
assertThat(fedNodeLocation.getUuid(), is(notNullValue()));
// The UUIDs of the nodes must be the same ...
assertThat(fedNodeLocation.getUuid(), is(branchNodeLocation.getUuid()));