METHOD_0 ( ) { org . kie . workbench . common . IDENT_0 . IDENT_1 . client . widgets . IDENT_2 . IDENT_3 IDENT_4 = METHOD_1 ( ) ; org . kie . workbench . common . IDENT_0 . IDENT_1 . client . IDENT_5 context = METHOD_2 ( ) ; org . kie . workbench . common . services . IDENT_1 . core . IDENT_6 IDENT_7 = context . METHOD_3 ( ) ; org . kie . workbench . common . services . IDENT_1 . core . IDENT_8 IDENT_9 = IDENT_7 . getProperty ( STRING_0 ) ; int count = IDENT_7 . METHOD_4 ( ) . size ( ) ; context . METHOD_5 ( ) . METHOD_6 ( IDENT_10 ) ; IDENT_4 . METHOD_7 ( context ) ; when ( IDENT_11 . METHOD_8 ( any ( ) , any ( ) , any ( ) , any ( ) ) ) . thenReturn ( new java . util . ArrayList ( ) ) ; IDENT_4 . METHOD_9 ( IDENT_9 , 2 ) ; verify ( IDENT_12 ) . METHOD_10 ( anyString ( ) , any ( ) , any ( ) , any ( ) , any ( ) , any ( ) , any ( ) ) ; verify ( view ) . METHOD_11 ( IDENT_7 . getProperty ( STRING_1 ) , true ) ; verify ( IDENT_13 , times ( 1 ) ) . METHOD_12 ( any ( org . kie . workbench . common . IDENT_0 . IDENT_1 . events . IDENT_14 . class ) ) ; verify ( view , times ( 1 ) ) . METHOD_13 ( IDENT_3 . IDENT_15 . METHOD_14 ( count ) ) ; verify ( view , times ( 2 ) ) . METHOD_13 ( IDENT_3 . IDENT_15 . METHOD_14 ( ( count - 1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return IDENT_16 ; }
org . junit . Assert . assertEquals ( ( count - 1 ) , IDENT_7 . METHOD_4 ( ) . size ( ) )