METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . common . messages . IDENT_4 IDENT_5 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . common . messages . IDENT_4 . class ) ; doReturn ( false ) . when ( validator ) . METHOD_1 ( IDENT_3 ) ; doReturn ( true ) . when ( validator ) . METHOD_2 ( IDENT_3 ) ; when ( IDENT_6 . METHOD_3 ( IDENT_3 ) ) . thenReturn ( IDENT_5 ) ; final boolean isValid = validator . isValid ( IDENT_3 ) ; verify ( IDENT_7 ) . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . IDENT_8 . workbench . events . IDENT_9 ) { }
org . junit . Assert . assertFalse ( isValid )