METHOD_0 ( ) { when ( cache . METHOD_1 ( module ) ) . thenReturn ( builder ) ; when ( builder . METHOD_2 ( ) ) . thenReturn ( true ) ; org . kie . workbench . common . services . backend . builder . service . IDENT_0 IDENT_1 = new org . kie . workbench . common . services . backend . builder . service . METHOD_3 ( builder ) ; org . kie . workbench . common . services . backend . builder . service . IDENT_0 result = IDENT_2 . METHOD_4 ( module ) ; "<AssertPlaceHolder>" ; verify ( cache , times ( 1 ) ) . METHOD_1 ( module ) ; verify ( IDENT_3 , METHOD_5 ( ) ) . build ( eq ( module ) , any ( java . util . function . IDENT_4 . class ) ) ; } METHOD_4 ( org . IDENT_5 . common . services . project . model . IDENT_6 ) { final org . kie . workbench . common . services . backend . builder . core . Builder [ ] result = new org . kie . workbench . common . services . backend . builder . core . Builder [ ] { IDENT_7 . METHOD_1 ( module ) } ; if ( ( ( result [ 0 ] ) == null ) || ( ! ( result [ 0 ] . METHOD_2 ( ) ) ) ) { ( ( org . kie . workbench . common . services . backend . builder . service . IDENT_8 ) ( IDENT_3 ) ) . build ( module , ( builder ) -> result [ 0 ] = builder ) ; } return new org . kie . workbench . common . services . backend . builder . service . METHOD_3 ( result [ 0 ] ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , result )