METHOD_0 ( ) { uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_3 tree = uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . Node . node ( 5 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . Node . node ( 1 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 ) , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . Node . node ( 3 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . Node . node ( 4 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 , uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . IDENT_5 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_6 ) { return tree . match ( ) . when ( uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . IDENT_4 . class , ( n ) -> 0 ) . when ( uk . co . IDENT_0 . expressions . IDENT_1 . IDENT_2 . Node . class , ( n ) -> ( 1 + ( METHOD_1 ( n . METHOD_2 ( ) ) ) ) + ( METHOD_1 ( n . METHOD_3 ( ) ) ) ) ; }
org . junit . Assert . assertEquals ( 4 , METHOD_1 ( tree ) )