METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . IDENT_3 record = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; final org . kie . workbench . common . IDENT_0 . api . property . IDENT_0 . IDENT_8 name = mock ( org . kie . workbench . common . IDENT_0 . api . property . IDENT_0 . IDENT_8 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . common . messages . IDENT_9 IDENT_10 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . common . messages . IDENT_9 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_4 . IDENT_5 . IDENT_6 > IDENT_11 = new java . util . ArrayList ( singletonList ( IDENT_7 ) ) ; when ( name . getValue ( ) ) . thenReturn ( STRING_0 ) ; when ( record . getName ( ) ) . thenReturn ( "" ) ; when ( IDENT_7 . getName ( ) ) . thenReturn ( name ) ; when ( IDENT_12 . METHOD_1 ( record ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_13 . METHOD_2 ( ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_14 . METHOD_3 ( record ) ) . thenReturn ( IDENT_10 ) ; final boolean IDENT_15 = IDENT_16 . isValid ( record ) ; "<AssertPlaceHolder>" ; verify ( IDENT_17 ) . METHOD_4 ( IDENT_10 ) ; } isValid ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . IDENT_3 ) { if ( ! ( METHOD_5 ( record ) ) ) { IDENT_17 . METHOD_4 ( IDENT_14 . METHOD_6 ( record ) ) ; return false ; } if ( METHOD_7 ( record ) ) { IDENT_17 . METHOD_4 ( IDENT_14 . METHOD_3 ( record ) ) ; return false ; } return true ; }
org . junit . Assert . assertFalse ( IDENT_15 )