METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . IDENT_2 factory = new org . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; final org . IDENT_0 . IDENT_3 mock = org . easymock . EasyMock . METHOD_2 ( org . IDENT_0 . IDENT_3 . class ) ; org . IDENT_0 . IDENT_3 . METHOD_3 ( mock ) ; org . easymock . EasyMock . expect ( mock . METHOD_4 ( ) ) . andReturn ( STRING_0 ) ; org . easymock . EasyMock . replay ( mock ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( mock ) ; org . IDENT_0 . IDENT_3 . METHOD_3 ( new org . IDENT_0 . METHOD_5 ( ) ) ; } METHOD_6 ( java . lang . reflect . Type [ ] , java . util . Map , org . IDENT_0 . IDENT_4 , java . util . List ) { final java . lang . String IDENT_5 = org . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_7 ( clazz , IDENT_7 ) ; if ( ( ( IDENT_8 . get ( IDENT_5 ) ) == null ) || ( ! ( IDENT_8 . get ( IDENT_5 ) . METHOD_8 ( ) ) ) ) { final T ret = create ( IDENT_7 , IDENT_8 , IDENT_9 , exceptions ) ; if ( ret != null ) { return ret ; } else { org . IDENT_0 . IDENT_1 . IDENT_6 . logger . error ( STRING_1 ) ; if ( ! ( exceptions . isEmpty ( ) ) ) { org . IDENT_0 . IDENT_1 . IDENT_6 . logger . error ( STRING_2 ) ; for ( final java . lang . Exception e : exceptions ) { org . IDENT_0 . IDENT_1 . IDENT_6 . logger . error ( e . getMessage ( ) , e ) ; } } throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_3 , clazz ) ) ; } } else { return ( ( T ) ( IDENT_8 . get ( IDENT_5 ) . getInstance ( ) ) ) ; } }
org . junit . Assert . assertEquals ( STRING_0 , factory . METHOD_6 ( null , null , null , null ) )