@Test
public void recordEventProperlyHandlesNonNullEventSource() {

  when(mockSwapper.swap(mockNodeInfo)).thenReturn(mockLastNodeInfo);
  testSubject.recordEvent(mockNodeInfo);
  verify(mockLastNodeInfo, times(1)).recycle();
}