METHOD_0 ( ) { METHOD_1 ( ) ; when ( IDENT_0 . getProperty ( IDENT_1 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_4 ) ) . thenReturn ( java . util . Optional . of ( IDENT_5 ) ) ; when ( IDENT_0 . getProperty ( IDENT_5 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_6 ) ) . thenReturn ( java . util . Optional . of ( IDENT_7 ) ) ; when ( IDENT_0 . getProperty ( IDENT_7 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_8 ) ) . thenReturn ( java . util . Optional . of ( property ) ) ; final java . lang . Object field = org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_9 . METHOD_2 ( IDENT_10 , IDENT_1 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_11 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . getProperty ( IDENT_1 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_4 ) ; verify ( IDENT_0 ) . getProperty ( IDENT_5 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_6 ) ; verify ( IDENT_0 ) . getProperty ( IDENT_7 , org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_3 . IDENT_8 ) ; verify ( IDENT_12 , METHOD_3 ( ) ) . getProperty ( any ( ) , anyString ( ) ) ; } METHOD_2 ( org . kie . workbench . common . IDENT_2 . core . api . IDENT_13 , java . lang . Object , java . lang . String ) { final int index = field . indexOf ( STRING_0 ) ; final java . lang . String IDENT_14 = ( index > ( - 1 ) ) ? field . substring ( 0 , index ) : field ; final java . lang . Object property = org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_15 . < java . util . Optional > METHOD_4 ( ( ) -> IDENT_10 . METHOD_5 ( ) . METHOD_6 ( ) . getProperty ( IDENT_1 , IDENT_14 ) , java . util . Optional . empty ( ) ) . METHOD_7 ( ( ) -> org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_15 . < java . util . Optional > METHOD_4 ( ( ) -> IDENT_10 . METHOD_5 ( ) . METHOD_8 ( ) . getProperty ( IDENT_1 , IDENT_14 ) , java . util . Optional . empty ( ) ) . METHOD_9 ( null ) ) ; return ( index > 0 ) && ( java . util . IDENT_16 . METHOD_10 ( property ) ) ? org . kie . workbench . common . IDENT_2 . core . graph . util . IDENT_9 . METHOD_2 ( IDENT_10 , property , field . substring ( ( index + 1 ) ) ) : property ; }
org . junit . Assert . assertEquals ( field , property )