### Question:
Pair { @Nonnull public static <K, V> Pair<K, V> create(@Nonnull K key, @Nonnull V value) { return new AutoValue_Pair<>(key, value); }  @Nonnull abstract K getKey(); @Nonnull abstract V getValue(); @Nonnull static Pair<K, V> create(@Nonnull K key, @Nonnull V value);  }### Answer:
@Test(expected = NullPointerException.class) public void testInstantiate_nullKey() { Pair.create(null, 123456); }
@Test(expected = NullPointerException.class) public void testInstantiate_nullValue() { Pair.create("test", null); }