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