METHOD_0 ( ) { factory = new IDENT_0 . IDENT_1 . IDENT_2 . model . factory . METHOD_1 ( ) { @ IDENT_0 . IDENT_1 . IDENT_2 . model . factory . Override MOD_0 java . io . InputStream METHOD_2 ( ) { return IDENT_0 . IDENT_1 . IDENT_2 . model . factory . IDENT_3 . class . getResourceAsStream ( STRING_0 ) ; } } ; IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_4 . init ( factory ) ; final IDENT_0 . IDENT_1 . IDENT_2 . model . IDENT_5 expected = factory . create ( ) ; IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_4 . METHOD_3 ( new IDENT_0 . IDENT_1 . IDENT_2 . config . support . IDENT_6 < java . lang . IDENT_7 > ( new java . util . concurrent . IDENT_8 < java . lang . IDENT_7 > ( ) { public IDENT_0 . IDENT_1 . IDENT_2 . model . factory . IDENT_7 call ( ) throws IDENT_0 . IDENT_1 . IDENT_2 . model . factory . Exception { "<AssertPlaceHolder>" ; return null ; } } ) , 10 ) ; } create ( ) { return IDENT_9 ; }
org . junit . Assert . assertEquals ( expected , factory . create ( ) )