@SuppressWarnings("ConstantConditions")
  @Test
  void constructorThrowsNullPointerException() {
    assertThatThrownBy(() -> new LocatorList(null)).isInstanceOf(NullPointerException.class);
  }
The explicit order of these isn't important, only that it be consistent.
geode-core/src/test/java/org/apache/geode/cache/client/internal/LocatorListTest.java