METHOD_0 ( ) { final java . util . Map < java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > , uk . gov . gchq . gaffer . store . operation . resolver . IDENT_0 > IDENT_1 = new java . util . HashMap ( ) ; IDENT_1 . put ( uk . gov . gchq . gaffer . operation . impl . get . IDENT_2 . class , new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 ( ) { @ uk . gov . gchq . gaffer . store . operation . resolver . Override public uk . gov . gchq . gaffer . store . operation . resolver . Integer METHOD_2 ( final uk . gov . gchq . gaffer . operation . Operation operation ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } @ uk . gov . gchq . gaffer . store . operation . resolver . Override public uk . gov . gchq . gaffer . store . operation . resolver . Integer METHOD_2 ( final uk . gov . gchq . gaffer . operation . Operation operation , final uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 IDENT_3 ) { return IDENT_3 . METHOD_2 ( operation ) ; } } ) ; final uk . gov . gchq . gaffer . operation . IDENT_4 IDENT_5 = new uk . gov . gchq . gaffer . operation . IDENT_4 . Builder ( ) . first ( new uk . gov . gchq . gaffer . operation . impl . get . METHOD_3 ( ) ) . METHOD_4 ( new uk . gov . gchq . gaffer . operation . impl . get . METHOD_5 ( ) ) . build ( ) ; final uk . gov . gchq . gaffer . store . operation . resolver . IDENT_6 IDENT_7 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_6 ( null , IDENT_1 ) ; final java . lang . Object result = IDENT_7 . METHOD_2 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( uk . gov . gchq . gaffer . operation . Operation ) { if ( null == operation ) { return 0 ; } if ( ( operation instanceof uk . gov . gchq . gaffer . operation . IDENT_8 ) && ( ! ( operation instanceof uk . gov . gchq . gaffer . IDENT_9 . operation . IDENT_10 ) ) ) { int IDENT_11 = 0 ; for ( final uk . gov . gchq . gaffer . operation . Operation op : ( ( uk . gov . gchq . gaffer . operation . IDENT_8 < ? > ) ( operation ) ) . METHOD_7 ( ) ) { IDENT_11 += METHOD_2 ( op ) ; } return IDENT_11 ; } else { final java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > IDENT_12 = operation . getClass ( ) ; if ( ( null == ( IDENT_13 ) ) || ( ( IDENT_13 ) != operation ) ) { uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 resolver = IDENT_14 . get ( IDENT_12 ) ; if ( null != resolver ) { final uk . gov . gchq . gaffer . store . operation . resolver . METHOD_6 IDENT_15 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_6 ( IDENT_16 , IDENT_14 , operation ) ; java . lang . Integer IDENT_17 = resolver . METHOD_2 ( operation , IDENT_15 ) ; if ( null != IDENT_17 ) { return IDENT_17 ; } } } final java . util . List < java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > > keys = new java . util . ArrayList ( IDENT_16 . METHOD_8 ( ) ) ; for ( int i = ( keys . size ( ) ) - 1 ; i >= 0 ; i OP_0 ) { final java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > key = keys . get ( i ) ; if ( key . METHOD_9 ( IDENT_12 ) ) { return IDENT_16 . get ( key ) ; } } } return uk . gov . gchq . gaffer . store . operation . resolver . METHOD_6 . IDENT_18 ; }
org . junit . Assert . assertEquals ( 2 , result )