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