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