METHOD_0 ( ) { org . IDENT_0 . model . IDENT_1 < org . IDENT_0 . model . IDENT_2 > query = mock ( org . IDENT_0 . model . IDENT_1 . class ) ; org . IDENT_0 . model . IDENT_1 < org . IDENT_0 . dto . api . v1 . IDENT_3 > IDENT_4 = mock ( org . IDENT_0 . model . IDENT_1 . class ) ; when ( IDENT_5 . METHOD_1 ( eq ( consumer ) ) ) . thenReturn ( query ) ; when ( query . transform ( any ( org . IDENT_0 . util . IDENT_6 . class ) ) ) . thenReturn ( IDENT_4 ) ; org . IDENT_0 . model . IDENT_1 < org . IDENT_0 . dto . api . v1 . IDENT_3 > result = IDENT_7 . METHOD_2 ( consumer . METHOD_3 ( ) ) ; verify ( query , times ( 1 ) ) . transform ( any ( org . IDENT_0 . util . IDENT_6 . class ) ) ; "<AssertPlaceHolder>" ; } transform ( IDENT_8 ) { IDENT_9 output = null ; if ( source != null ) { if ( ( this . IDENT_10 ) == null ) { this . IDENT_10 = this . IDENT_11 . METHOD_4 ( ( ( java . lang . Class < IDENT_8 > ) ( source . getClass ( ) ) ) , this . IDENT_12 ) ; } output = this . IDENT_10 . METHOD_5 ( this . IDENT_11 , source ) ; } return output ; }
org . junit . Assert . assertEquals ( result , IDENT_4 )