METHOD_0 ( ) { final uk . gov . gchq . gaffer . operation . impl . get . IDENT_0 IDENT_1 = mock ( uk . gov . gchq . gaffer . operation . impl . get . IDENT_0 . class ) ; final uk . gov . gchq . gaffer . operation . impl . add . IDENT_2 IDENT_3 = mock ( uk . gov . gchq . gaffer . operation . impl . add . IDENT_2 . class ) ; final uk . gov . gchq . gaffer . store . operation . resolver . IDENT_4 IDENT_5 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 ( ) ; final uk . gov . gchq . gaffer . operation . IDENT_6 IDENT_7 = new uk . gov . gchq . gaffer . operation . IDENT_6 . Builder ( ) . first ( IDENT_1 ) . METHOD_2 ( IDENT_3 ) . METHOD_2 ( new uk . gov . gchq . gaffer . operation . METHOD_3 ( ( ( java . util . List ) ( null ) ) ) ) . build ( ) ; final java . lang . Object result = IDENT_5 . METHOD_4 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( 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_5 ( ) ) { IDENT_11 += METHOD_4 ( 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 . IDENT_14 resolver = IDENT_15 . get ( IDENT_12 ) ; if ( null != resolver ) { final uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 IDENT_16 = new uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 ( IDENT_17 , IDENT_15 , operation ) ; java . lang . Integer IDENT_18 = resolver . METHOD_4 ( operation , IDENT_16 ) ; if ( null != IDENT_18 ) { return IDENT_18 ; } } } final java . util . List < java . lang . Class < ? extends uk . gov . gchq . gaffer . operation . Operation > > keys = new java . util . ArrayList ( IDENT_17 . METHOD_6 ( ) ) ; 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_7 ( IDENT_12 ) ) { return IDENT_17 . get ( key ) ; } } } return uk . gov . gchq . gaffer . store . operation . resolver . METHOD_1 . IDENT_19 ; }
org . junit . Assert . assertEquals ( 2 , result )