METHOD_0 ( ) { net . ripe . db . whois . common . IDENT_0 . IDENT_1 person = net . ripe . db . whois . common . IDENT_0 . IDENT_1 . parse ( ( "" + ( STRING_0 + STRING_1 ) ) ) ; when ( IDENT_2 . METHOD_1 ( anyString ( ) ) ) . thenReturn ( new net . ripe . db . whois . update . domain . METHOD_2 ( STRING_2 , 1 , STRING_3 ) ) ; final net . ripe . db . whois . common . IDENT_0 . IDENT_1 IDENT_3 = subject . METHOD_3 ( person , update , IDENT_4 , IDENT_5 . IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 ) . METHOD_1 ( STRING_4 ) ; verify ( IDENT_2 , METHOD_4 ( ) ) . METHOD_5 ( anyString ( ) , any ( net . ripe . db . whois . common . IDENT_0 . IDENT_1 . class ) ) ; } METHOD_3 ( net . ripe . db . whois . update . IDENT_7 . IDENT_1 , net . ripe . db . whois . update . IDENT_7 . IDENT_8 , net . ripe . db . whois . update . IDENT_7 . IDENT_9 , net . ripe . db . whois . update . IDENT_7 . IDENT_5 ) { final java . util . Map < net . ripe . db . whois . update . IDENT_7 . IDENT_10 , net . ripe . db . whois . update . IDENT_7 . IDENT_10 > IDENT_11 = com . google . common . collect . IDENT_12 . METHOD_6 ( ) ; if ( IDENT_5 . IDENT_6 . equals ( action ) ) { METHOD_7 ( update , object , IDENT_4 , IDENT_11 ) ; } METHOD_8 ( update , object , IDENT_4 , IDENT_11 ) ; if ( IDENT_11 . isEmpty ( ) ) { return object ; } return new net . ripe . db . whois . update . IDENT_7 . METHOD_9 ( object ) . METHOD_10 ( IDENT_11 ) . get ( ) ; }
org . junit . Assert . assertThat ( IDENT_3 , org . hamcrest . Matchers . is ( person ) )