question: public void test_putValue ( ) { SSLSession s = clientSession ; mySSLSessionBindingListener sbl = new mySSLSessionBindingListener ( ) ; assertNotNull ( s . getValueNames ( ) ) ; assertEquals ( 0 , s . getValueNames ( ) . length ) ; s . putValue ( "Name_01" , sbl ) ; s . putValue ( "Name_02" , sbl ) ; s . putValue ( "Name_03" , sbl ) ; assertEquals ( 3 , s . getValueNames ( ) . length ) ; s . removeValue ( "Name_01" ) ; assertEquals ( 2 , s . getValueNames ( ) . length ) ; try { s . putValue ( null , null ) ; fail ( "IllegalArgumentException wasn't thrown" ) ; } catch ( IllegalArgumentException expected ) { } try { s . putValue ( "ABC" , null ) ; fail ( "IllegalArgumentException wasn't thrown" ) ; } catch ( IllegalArgumentException expected ) { } try { s . putValue ( null , sbl ) ; fail ( "IllegalArgumentException wasn't thrown" ) ; } catch ( IllegalArgumentException expected ) { } try { s . removeValue ( null ) ; fail ( "IllegalArgumentException wasn't thrown" ) ; } catch ( IllegalArgumentException expected ) { } }
target:  javax.net.ssl.SSLSession#putValue(String name, Object value) javax.net.ssl.SSLSession#removeValue(String name) javax.net.ssl.SSLSession#getValueNames()