### Question:
X509Context { public static X509Context of(@NonNull final List<X509Svid> x509Svids, @NonNull final X509BundleSet x509BundleSet) { if (x509Svids.size() == 0) { throw new IllegalArgumentException("The X.509 Context must have a least one X.509 SVID"); } return new X509Context(x509Svids, x509BundleSet); } X509Context(final List<X509Svid> x509Svids, final X509BundleSet x509BundleSet); static X509Context of(@NonNull final List<X509Svid> x509Svids, @NonNull final X509BundleSet x509BundleSet); X509Svid getDefaultSvid();  }### Answer:
@Test void of_NullListOfX509SvidsParameter() { try { X509Context.of(null, createBundleSet()); fail(); } catch (NullPointerException e) { assertEquals("x509Svids is marked non-null but is null", e.getMessage()); } }
@Test void of_EmtpyListOfX509SvidsParameter() { try { X509Context.of(Collections.emptyList(), createBundleSet()); fail(); } catch (IllegalArgumentException e) { assertEquals("The X.509 Context must have a least one X.509 SVID", e.getMessage()); } }
@Test void getNewllX509BundleSet() { try { X509Context.of(Collections.emptyList(), null); fail(); } catch (NullPointerException e) { assertEquals("x509BundleSet is marked non-null but is null", e.getMessage()); } }