Code example for ECPublicKeySpec

Methods: getW

0
        } catch (NullPointerException e) {
            // expected 
        } 
 
        // case 3: catch NullPointerException - if params is null. 
        try { 
            new ECPublicKeySpec(w, null);
            fail("NullPointerException has not been thrown");
        } catch (NullPointerException e) {
            // expected 
        } 
    } 
 
    /** 
     * test for getW() method 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getW", 
        args = {}