METHOD_0 ( ) { subject = new net . ripe . db . whois . common . IDENT_0 . METHOD_1 ( STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { final java . util . Set < net . ripe . db . whois . common . domain . IDENT_1 > values = METHOD_3 ( ) ; switch ( values . size ( ) ) { case 0 : throw new java . lang . IllegalStateException ( ( ( STRING_2 + ( type ) ) + STRING_3 ) ) ; case 1 : return values . iterator ( ) . next ( ) ; default : throw new java . lang . IllegalStateException ( ( ( STRING_4 + ( type ) ) + STRING_5 ) ) ; } }
org . junit . Assert . assertThat ( subject . METHOD_2 ( ) . toString ( ) , org . hamcrest . Matchers . is ( STRING_1 ) )