### Question:
Shamir { @Nonnull public static Shamir create(@Nonnull final SecureRandom random) { return new Shamir(random); } Shamir(@Nonnull final SecureRandom random); @Nonnull static Shamir create(@Nonnull final SecureRandom random); @Nonnull Set<Share> createShares(@Nonnull final BigInteger secret, @Nonnull final CreationScheme creationScheme); @Nonnull BigInteger recoverSecret(@Nonnull final Set<Share> shares, @Nonnull final RecoveryScheme recoveryScheme);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testInstantiateStatically_nullRandom() { Shamir.create(null); }
@Test public void testInstantiateStatically_nonNullRandom() { Shamir.create(new SecureRandom()); }