METHOD_0 ( ) { final net . ripe . db . whois . common . IDENT_0 . IDENT_1 IDENT_2 = net . ripe . db . whois . common . IDENT_0 . IDENT_1 . parse ( STRING_0 ) ; final net . ripe . db . whois . common . dao . IDENT_3 IDENT_4 = new net . ripe . db . whois . common . dao . METHOD_1 ( 0 , net . ripe . db . whois . common . IDENT_0 . IDENT_5 . IDENT_6 , STRING_1 ) ; final java . util . List < net . ripe . db . whois . common . dao . METHOD_1 > result = java . util . Arrays . asList ( IDENT_4 ) ; when ( IDENT_7 . METHOD_2 ( IDENT_2 ) ) . thenReturn ( true ) ; when ( IDENT_7 . METHOD_3 ( IDENT_2 ) ) . thenReturn ( result ) ; final java . util . Collection < net . ripe . db . whois . common . dao . METHOD_1 > IDENT_8 = subject . METHOD_4 ( net . ripe . db . whois . query . query . Query . parse ( STRING_2 ) , IDENT_2 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } contains ( java . lang . String ) { return IDENT_9 . contains ( value . toLowerCase ( ) ) ; }
org . junit . Assert . assertThat ( IDENT_8 , org . hamcrest . Matchers . contains ( IDENT_4 ) )