Code example for TooManyListenersException

0
    public void test_Constructor() { 
        // Test for method java.util.TooManyListenersException() 
        try { 
            throw new TooManyListenersException();
        } catch (TooManyListenersException e) {
            assertNull(
                    "Message thrown with exception constructed with no message", 
                    e.getMessage());
        } 
    } 
 
    /** 
     * @tests java.util.TooManyListenersException#TooManyListenersException(java.lang.String) 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "TooManyListenersException", 
        args = {java.lang.String.class}
    ) 
    public void test_ConstructorLjava_lang_String() {