METHOD_0 ( ) { com . IDENT_0 . platform . dal . dao . IDENT_1 . IDENT_2 instance = com . IDENT_0 . platform . dal . dao . helper . IDENT_3 . getInstance ( com . IDENT_0 . platform . dal . dao . IDENT_1 . IDENT_2 . class ) ; "<AssertPlaceHolder>" ; } getInstance ( java . lang . Class ) { T instance = null ; try { java . util . Iterator < T > iterator = com . IDENT_0 . platform . dal . dao . helper . IDENT_3 . METHOD_1 ( clazz ) ; if ( ! ( com . IDENT_0 . platform . dal . dao . helper . IDENT_4 . class . METHOD_2 ( clazz ) ) ) { if ( iterator . hasNext ( ) ) return iterator . next ( ) ; } else { java . util . List < T > IDENT_5 = new java . util . METHOD_3 ( ) ; while ( iterator . hasNext ( ) ) { T service = iterator . next ( ) ; IDENT_5 . add ( service ) ; } if ( ( IDENT_5 . size ( ) ) == 0 ) { return null ; } java . util . Collections . METHOD_4 ( IDENT_5 , ( ( java . util . IDENT_6 < ? super T > ) ( new com . IDENT_0 . platform . dal . dao . helper . METHOD_5 ( ) ) ) ) ; return IDENT_5 . get ( 0 ) ; } } catch ( java . lang . Throwable e ) { com . IDENT_0 . platform . dal . dao . helper . IDENT_3 . LOGGER . error ( e . getMessage ( ) , e ) ; } return instance ; }
org . junit . Assert . assertNull ( instance )