METHOD_0 ( ) { org . mockito . Mockito . when ( tree . METHOD_1 ( ) ) . thenReturn ( false ) ; com . vaadin . client . flow . IDENT_0 node = new com . vaadin . client . flow . METHOD_2 ( 1 , tree ) ; com . vaadin . client . flow . IDENT_1 . IDENT_2 properties = node . METHOD_3 ( IDENT_3 . IDENT_4 ) ; com . vaadin . client . flow . IDENT_1 . IDENT_5 IDENT_6 = properties . getProperty ( "foo" ) ; IDENT_6 . setValue ( "bar" ) ; com . vaadin . client . flow . IDENT_1 . IDENT_5 IDENT_7 = properties . getProperty ( STRING_0 ) ; IDENT_7 . setValue ( "value" ) ; handler . METHOD_4 ( node ) ; org . mockito . Mockito . when ( tree . METHOD_5 ( node . getId ( ) ) ) . thenReturn ( node ) ; handler . METHOD_6 ( ) ; IDENT_6 . setValue ( STRING_1 ) ; IDENT_7 . setValue ( "foo" ) ; handler . METHOD_7 ( IDENT_6 ) ; handler . METHOD_7 ( IDENT_7 ) ; java . util . concurrent . atomic . IDENT_8 count = new java . util . concurrent . atomic . METHOD_8 ( ) ; com . vaadin . client . flow . IDENT_9 . IDENT_10 listener = ( ) -> count . METHOD_9 ( ) ; IDENT_6 . METHOD_10 ( ( event ) -> com . vaadin . client . flow . IDENT_9 . IDENT_11 . METHOD_11 ( listener ) ) ; IDENT_7 . METHOD_10 ( ( event ) -> com . vaadin . client . flow . IDENT_9 . IDENT_11 . METHOD_11 ( listener ) ) ; com . vaadin . client . flow . IDENT_9 . IDENT_11 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } get ( ) { return com . vaadin . flow . dom . impl . IDENT_12 . INSTANCE ; }
org . junit . Assert . assertEquals ( 2 , count . get ( ) )