METHOD_0 ( ) { org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 IDENT_3 = mock ( org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 . class ) ; java . util . List < org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 > IDENT_4 = new java . util . ArrayList < org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 > ( ) ; IDENT_4 . add ( IDENT_3 ) ; doReturn ( IDENT_4 ) . when ( org . pentaho . platform . IDENT_0 . IDENT_1 . api . IDENT_5 . IDENT_6 . IDENT_7 ) . METHOD_1 ( null ) ; java . lang . RuntimeException IDENT_8 = mock ( org . pentaho . platform . IDENT_0 . IDENT_1 . api . RuntimeException . class ) ; METHOD_2 ( IDENT_8 ) . when ( org . pentaho . platform . IDENT_0 . IDENT_1 . api . IDENT_5 . IDENT_6 . IDENT_9 ) . METHOD_3 ( anyString ( ) ) ; java . util . List < java . lang . String > response = org . pentaho . platform . IDENT_0 . IDENT_1 . api . IDENT_5 . IDENT_6 . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; verify ( org . pentaho . platform . IDENT_0 . IDENT_1 . api . IDENT_5 . IDENT_6 , times ( 1 ) ) . METHOD_4 ( ) ; } METHOD_4 ( ) { java . util . List < java . lang . String > IDENT_10 = new java . util . ArrayList < java . lang . String > ( ) ; try { IDENT_11 : for ( org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 IDENT_12 : IDENT_7 . METHOD_1 ( null ) ) { org . pentaho . metadata . model . IDENT_13 domain = IDENT_9 . METHOD_3 ( IDENT_12 . METHOD_5 ( ) ) ; java . util . List < org . pentaho . metadata . model . IDENT_14 > IDENT_15 = domain . METHOD_1 ( ) ; if ( ( IDENT_15 != null ) && ( ( IDENT_15 . size ( ) ) >= 1 ) ) { for ( org . pentaho . metadata . model . IDENT_14 IDENT_16 : IDENT_15 ) { java . lang . Object property = IDENT_16 . getProperty ( STRING_0 ) ; if ( property != null ) { IDENT_10 . add ( IDENT_12 . METHOD_5 ( ) ) ; continue IDENT_11 ; } } } } } catch ( java . lang . Throwable e ) { return null ; } return IDENT_10 ; }
org . junit . Assert . assertEquals ( null , response )