Code example for RSAOtherPrimeInfo

0
     * Assertion: constructs <code>RSAOtherPrimeInfo</code> 
     * object using valid parameter 
     */ 
    public final void testRSAOtherPrimeInfo01() { 
        Object o =
            new RSAOtherPrimeInfo(BigInteger.valueOf(1L),
                                  BigInteger.valueOf(2L),
                                  BigInteger.valueOf(3L));
        assertTrue(o instanceof RSAOtherPrimeInfo);
    } 
     
    /** 
     * Test #2 for <code>RSAOtherPrimeInfo(BigInteger,BigInteger,BigInteger)</code> ctor 
     * Assertion: NullPointerException if prime is null 
     */ 
    public final void testRSAOtherPrimeInfo02() { 
        try { 
            new RSAOtherPrimeInfo(null,
                                  BigInteger.valueOf(2L),
                                  BigInteger.valueOf(3L));
            fail("Expected NPE not thrown");