METHOD_0 ( ) { java . util . concurrent . IDENT_0 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , java . util . concurrent . IDENT_4 < org . apache . commons . lang3 . tuple . IDENT_5 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , com . github . IDENT_1 . IDENT_2 . IDENT_6 > > > cache = METHOD_1 ( java . util . concurrent . IDENT_7 . class ) ; com . github . IDENT_1 . IDENT_2 . io . IDENT_3 source = new com . github . IDENT_1 . IDENT_2 . io . METHOD_2 ( STRING_0 , getClass ( ) . getResource ( STRING_0 ) ) ; java . util . concurrent . IDENT_4 < org . apache . commons . lang3 . tuple . IDENT_5 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , com . github . IDENT_1 . IDENT_2 . IDENT_6 > > future = METHOD_1 ( java . util . concurrent . IDENT_4 . class ) ; expect ( cache . get ( source ) ) . andReturn ( future ) ; expect ( future . get ( ) ) . METHOD_3 ( new java . lang . METHOD_4 ( ) ) ; com . github . IDENT_1 . IDENT_2 . IDENT_6 template = METHOD_1 ( com . github . IDENT_1 . IDENT_2 . IDENT_6 . class ) ; org . apache . commons . lang3 . tuple . IDENT_5 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , com . github . IDENT_1 . IDENT_2 . IDENT_6 > IDENT_8 = METHOD_1 ( org . apache . commons . lang3 . tuple . IDENT_5 . class ) ; expect ( IDENT_8 . METHOD_5 ( ) ) . andReturn ( source ) ; expect ( IDENT_8 . getValue ( ) ) . andReturn ( template ) ; expect ( cache . get ( source ) ) . andReturn ( future ) ; expect ( future . get ( ) ) . andReturn ( IDENT_8 ) . times ( 2 ) ; com . github . IDENT_1 . IDENT_2 . IDENT_9 parser = METHOD_1 ( com . github . IDENT_1 . IDENT_2 . IDENT_9 . class ) ; replay ( parser , template , cache , future , IDENT_8 ) ; "<AssertPlaceHolder>" ; verify ( parser , template , cache , future , IDENT_8 ) ; } get ( ) { java . util . concurrent . IDENT_0 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , java . util . concurrent . IDENT_4 < org . apache . commons . lang3 . tuple . IDENT_5 < com . github . IDENT_1 . IDENT_2 . io . IDENT_3 , com . github . IDENT_1 . IDENT_2 . IDENT_6 > > > cache = new java . util . concurrent . METHOD_6 ( ) ; com . github . IDENT_1 . IDENT_2 . io . IDENT_3 source = new com . github . IDENT_1 . IDENT_2 . io . METHOD_2 ( STRING_0 , getClass ( ) . getResource ( STRING_0 ) ) ; com . github . IDENT_1 . IDENT_2 . IDENT_6 template = METHOD_1 ( com . github . IDENT_1 . IDENT_2 . IDENT_6 . class ) ; com . github . IDENT_1 . IDENT_2 . IDENT_9 parser = METHOD_1 ( com . github . IDENT_1 . IDENT_2 . IDENT_9 . class ) ; expect ( parser . parse ( source ) ) . andReturn ( template ) ; replay ( parser , template ) ; org . junit . Assert . assertEquals ( template , new com . github . IDENT_1 . IDENT_2 . cache . METHOD_7 ( cache ) . get ( source , parser ) ) ; org . junit . Assert . assertEquals ( template , new com . github . IDENT_1 . IDENT_2 . cache . METHOD_7 ( cache ) . get ( source , parser ) ) ; verify ( parser , template ) ; }
org . junit . Assert . assertEquals ( template , new com . github . IDENT_1 . IDENT_2 . cache . METHOD_7 ( cache ) . get ( source , parser ) )