METHOD_0 ( ) { com . IDENT_0 . api . services . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( com . IDENT_0 . api . services . IDENT_1 . class ) ; com . IDENT_0 . api . services . IDENT_3 < com . IDENT_0 . api . services . IDENT_1 > IDENT_4 = new com . IDENT_0 . api . services . METHOD_1 ( ) ; IDENT_4 . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Class ) { for ( T service : this . services ) { if ( ( service . getClass ( ) ) == type ) { return ( ( IDENT_5 ) ( service ) ) ; } } return null ; }
org . junit . Assert . assertEquals ( IDENT_4 . get ( IDENT_2 . getClass ( ) ) , IDENT_2 )