METHOD_0 ( ) { net . ripe . db . whois . common . IDENT_0 subject = new net . ripe . db . whois . common . METHOD_1 ( ) ; final net . ripe . db . whois . common . Message info = new net . ripe . db . whois . common . Message ( METHOD_1 . Type . IDENT_1 , STRING_0 ) ; subject . add ( info ) ; subject . add ( info ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( net . ripe . db . whois . common . IDENT_2 ) { final java . util . Set < net . ripe . db . whois . common . Message > IDENT_3 = messages . get ( type ) ; if ( IDENT_3 == null ) { return java . util . Collections . emptyList ( ) ; } return IDENT_3 ; }
org . junit . Assert . assertThat ( subject . METHOD_2 ( METHOD_1 . Type . IDENT_1 ) , org . hamcrest . Matchers . contains ( info ) )