@Test
public void recordEventProperlyHandlesNullLastSource() {

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