}
assertNotNull("Should have thrown an Graylog2ServerUnavailableException", t);
assertEquals("First node failure count should be 1", 1, firstNode.getFailureCount());
final Node.Factory nodeFactory = injector.getInstance(Node.Factory.class);
final NodeSummaryResponse r1 = new NodeSummaryResponse();
r1.transportAddress = "http://localhost:65534";
r1.id = UUID.randomUUID().toString();
final Node newNode = nodeFactory.fromSummaryResponse(r1);
newNode.touch();
final NodeSummaryResponse r2 = new NodeSummaryResponse();
r2.transportAddress = firstNode.getTransportAddress();
r2.id = firstNode.getNodeId();
final Node sameAsInitialNode = nodeFactory.fromSummaryResponse(r2);
sameAsInitialNode.touch();
serverNodes.put(ImmutableList.of(newNode, sameAsInitialNode));