METHOD_0 ( ) { when ( api . METHOD_1 ( ) ) . thenReturn ( IDENT_0 . IDENT_1 ) ; boolean IDENT_2 = IDENT_3 . METHOD_2 ( api , java . util . Collections . emptyList ( ) , null ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , METHOD_3 ( ) ) . METHOD_4 ( any ( ) , any ( ) , any ( ) , any ( ) ) ; verify ( IDENT_5 , METHOD_3 ( ) ) . METHOD_5 ( ) ; } METHOD_2 ( io . IDENT_6 . management . model . api . IDENT_7 , io . IDENT_6 . management . service . impl . List , java . lang . String ) { if ( IDENT_8 == null ) { return ( ( IDENT_9 == null ) || ( IDENT_9 . isEmpty ( ) ) ) && ( IDENT_0 . IDENT_10 . equals ( api . METHOD_1 ( ) ) ) ; } if ( ( ( IDENT_9 != null ) && ( ! ( IDENT_9 . isEmpty ( ) ) ) ) && ( ( IDENT_4 . METHOD_4 ( IDENT_11 . IDENT_12 , api . getId ( ) , IDENT_8 , IDENT_13 . IDENT_12 ) ) == null ) ) { io . IDENT_6 . management . service . impl . Set < java . lang . String > IDENT_14 = io . IDENT_6 . management . service . impl . Collections . METHOD_6 ( ) ; if ( ( ( IDENT_0 . IDENT_1 . equals ( api . METHOD_1 ( ) ) ) && ( ( api . METHOD_7 ( ) ) != null ) ) && ( ! ( api . METHOD_7 ( ) . isEmpty ( ) ) ) ) { IDENT_14 = new io . IDENT_6 . management . service . impl . HashSet ( api . METHOD_7 ( ) ) ; } if ( IDENT_0 . IDENT_10 . equals ( api . METHOD_1 ( ) ) ) { try { IDENT_14 = IDENT_5 . METHOD_5 ( ) . stream ( ) . map ( IDENT_15 :: getId ) . collect ( java . util . stream . IDENT_16 . METHOD_8 ( ) ) ; } catch ( io . IDENT_6 . repository . exceptions . IDENT_17 ex ) { logger . error ( STRING_0 , ex ) ; throw new io . IDENT_6 . management . service . exceptions . METHOD_9 ( STRING_0 , ex ) ; } } IDENT_14 . METHOD_10 ( IDENT_9 ) ; for ( java . lang . String IDENT_18 : IDENT_14 ) { if ( ( IDENT_4 . METHOD_4 ( IDENT_11 . IDENT_19 , IDENT_18 , IDENT_8 , IDENT_13 . IDENT_12 ) ) != null ) { return true ; } } return false ; } return true ; }
org . junit . Assert . assertFalse ( IDENT_2 )