@Test
public void recyclesNodeOnceIfRootEqualsSource() {

  setupSuccessfulRequest();
  reset(rootNodeFinder);
  reset(deviceConfigFactory);
  when(rootNodeFinder.getRootNodeFromSource(any())).thenReturn(sourceNodeMock);
  when(deviceConfigFactory.getDeviceConfig(sourceNodeMock)).thenReturn(deviceConfig);
  testSubject.fulfillRequest(onRequestFulfilledMock);
  verifyZeroInteractions(rootNodeMock);
  verify(sourceNodeMock, times(1)).recycle();
}