METHOD_0 ( ) { final net . ripe . db . whois . common . IDENT_0 . IDENT_1 IDENT_2 = new net . ripe . db . whois . common . IDENT_0 . METHOD_1 ( net . ripe . db . whois . common . IDENT_3 . IDENT_4 . parse ( STRING_0 ) , 2 ) ; final net . ripe . db . whois . common . dao . IDENT_5 IDENT_6 = new net . ripe . db . whois . common . dao . METHOD_2 ( 2 , net . ripe . db . whois . common . IDENT_7 . IDENT_8 . IDENT_9 , STRING_1 ) ; final net . ripe . db . whois . common . IDENT_0 . METHOD_1 IDENT_10 = new net . ripe . db . whois . common . IDENT_0 . METHOD_1 ( net . ripe . db . whois . common . IDENT_3 . IDENT_4 . parse ( STRING_2 ) , 3 ) ; when ( IDENT_11 . METHOD_3 ( net . ripe . db . whois . common . IDENT_3 . IDENT_4 . parse ( STRING_3 ) ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( IDENT_2 , IDENT_10 ) ) ; when ( IDENT_12 . METHOD_4 ( IDENT_2 . METHOD_5 ( ) ) ) . thenReturn ( net . ripe . db . whois . common . IDENT_7 . IDENT_13 . parse ( STRING_4 ) ) ; when ( IDENT_12 . METHOD_6 ( IDENT_8 . IDENT_9 , STRING_1 ) ) . thenReturn ( IDENT_6 ) ; final java . util . Collection < net . ripe . db . whois . common . dao . METHOD_2 > result = subject . METHOD_7 ( net . ripe . db . whois . common . IDENT_7 . IDENT_13 . parse ( STRING_5 ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_12 , METHOD_8 ( ) ) . METHOD_4 ( IDENT_10 . METHOD_5 ( ) ) ; } contains ( java . lang . String ) { return IDENT_14 . contains ( value . toLowerCase ( ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . contains ( IDENT_6 ) )