METHOD_0 ( ) { when ( repository . METHOD_1 ( anyString ( ) ) ) . thenReturn ( 0 ) ; final org . talend . IDENT_0 . IDENT_1 . model . IDENT_2 IDENT_3 = mock ( org . talend . IDENT_0 . IDENT_1 . model . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( org . talend . IDENT_0 . IDENT_1 . IDENT_4 ) ; service . METHOD_3 ( java . util . Collections . singletonList ( IDENT_3 ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { int IDENT_5 = repository . METHOD_1 ( org . talend . IDENT_0 . IDENT_1 . IDENT_4 . name ( ) ) ; int IDENT_6 = ( ( int ) ( IDENT_7 . stream ( ) . filter ( ( task ) -> java . util . IDENT_8 . equals ( task . METHOD_2 ( ) , org . talend . IDENT_0 . IDENT_1 . IDENT_4 ) ) . count ( ) ) ) ; if ( IDENT_5 > IDENT_6 ) { org . talend . IDENT_0 . IDENT_1 . IDENT_9 . LOG . warn ( STRING_0 ) ; return true ; } else if ( IDENT_5 == IDENT_6 ) { return false ; } else { return true ; } }
org . junit . Assert . assertTrue ( service . METHOD_4 ( ) )