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 ( ) ; final uk . gov . gchq . gaffer . store . operation . resolver . IDENT_0 IDENT_2 = mock ( uk . gov . gchq . gaffer . store . operation . resolver . IDENT_3 . IDENT_4 . class ) ; final uk . gov . gchq . gaffer . store . operation . resolver . IDENT_0 IDENT_5 = mock ( uk . gov . gchq . gaffer . store . operation . resolver . IDENT_6 . class ) ; final uk . gov . gchq . gaffer . operation . impl . get . IDENT_7 IDENT_8 = new uk . gov . gchq . gaffer . operation . impl . get . METHOD_1 ( ) ; final uk . gov . gchq . gaffer . operation . impl . add . IDENT_9 IDENT_10 = new uk . gov . gchq . gaffer . operation . impl . add . METHOD_2 ( ) ; final java . util . Map < java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > , java . lang . Integer > IDENT_11 = new java . util . METHOD_3 ( ) ; IDENT_11 . put ( uk . gov . gchq . gaffer . operation . impl . get . METHOD_1 . class , 2 ) ; final java . lang . String IDENT_12 = STRING_0 ; final uk . gov . gchq . gaffer . IDENT_3 . operation . IDENT_13 < java . lang . IDENT_14 < ? extends uk . gov . gchq . gaffer . data . element . Element > , java . lang . IDENT_14 < ? extends uk . gov . gchq . gaffer . data . element . Element > > IDENT_15 = mock ( uk . gov . gchq . gaffer . IDENT_3 . operation . IDENT_13 . class ) ; IDENT_15 . METHOD_4 ( IDENT_12 ) ; IDENT_1 . put ( IDENT_15 . getClass ( ) , IDENT_2 ) ; IDENT_1 . put ( IDENT_10 . getClass ( ) , IDENT_5 ) ; METHOD_5 ( IDENT_2 . METHOD_6 ( eq ( IDENT_15 ) , any ( ) ) ) . METHOD_7 ( 3 ) ; METHOD_5 ( IDENT_5 . METHOD_6 ( eq ( IDENT_10 ) , any ( ) ) ) . METHOD_7 ( 5 ) ; final uk . gov . gchq . gaffer . store . operation . resolver . IDENT_6 IDENT_16 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_8 ( IDENT_11 , IDENT_1 ) ; final uk . gov . gchq . gaffer . operation . IDENT_17 IDENT_18 = new uk . gov . gchq . gaffer . operation . IDENT_17 . Builder ( ) . first ( IDENT_8 ) . METHOD_9 ( IDENT_10 ) . METHOD_9 ( IDENT_15 ) . build ( ) ; final java . lang . Object result = IDENT_16 . METHOD_6 ( IDENT_18 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( uk . gov . gchq . gaffer . operation . Operation ) { if ( null == operation ) { return 0 ; } if ( ( operation instanceof uk . gov . gchq . gaffer . operation . IDENT_19 ) && ( ! ( operation instanceof uk . gov . gchq . gaffer . IDENT_3 . operation . IDENT_13 ) ) ) { int IDENT_20 = 0 ; for ( final uk . gov . gchq . gaffer . operation . Operation op : ( ( uk . gov . gchq . gaffer . operation . IDENT_19 < ? > ) ( operation ) ) . METHOD_10 ( ) ) { IDENT_20 += METHOD_6 ( op ) ; } return IDENT_20 ; } else { final java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > IDENT_21 = operation . getClass ( ) ; if ( ( null == ( IDENT_22 ) ) || ( ( IDENT_22 ) != operation ) ) { uk . gov . gchq . gaffer . store . operation . resolver . IDENT_0 resolver = IDENT_23 . get ( IDENT_21 ) ; if ( null != resolver ) { final uk . gov . gchq . gaffer . store . operation . resolver . METHOD_8 IDENT_24 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_8 ( IDENT_11 , IDENT_23 , operation ) ; java . lang . Integer IDENT_25 = resolver . METHOD_6 ( operation , IDENT_24 ) ; if ( null != IDENT_25 ) { return IDENT_25 ; } } } final java . util . List < java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > > keys = new java . util . ArrayList ( IDENT_11 . METHOD_11 ( ) ) ; 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_12 ( IDENT_21 ) ) { return IDENT_11 . get ( key ) ; } } } return uk . gov . gchq . gaffer . store . operation . resolver . METHOD_8 . IDENT_26 ; }
org . junit . Assert . assertEquals ( 10 , result )