@Test
public void testDescendingNull() {

    assertFalse("both nulls are not descending", SwingXUtilities.isDescendingFrom(null, null));
    assertFalse("null comp is not descending", SwingXUtilities.isDescendingFrom(null, new JScrollPane()));
    assertFalse("comp is not descending null parent", SwingXUtilities.isDescendingFrom(new JLabel(), null));
}