METHOD_0 ( ) { final java . lang . String reference = STRING_0 ; final java . util . function . IDENT_0 < java . lang . Integer > function = new uk . gov . gchq . IDENT_1 . IDENT_2 . IDENT_3 < java . lang . Integer > ( ) { @ uk . gov . gchq . gaffer . data . element . function . Override public uk . gov . gchq . gaffer . data . element . function . Integer METHOD_1 ( final java . lang . Integer a , final java . lang . Integer b ) { return a + b ; } } ; final uk . gov . gchq . gaffer . data . element . function . IDENT_4 IDENT_5 = new uk . gov . gchq . gaffer . data . element . function . IDENT_4 . Builder ( ) . select ( reference ) . execute ( function ) . build ( ) ; final uk . gov . gchq . gaffer . data . element . IDENT_6 IDENT_7 = new uk . gov . gchq . gaffer . data . element . IDENT_6 . Builder ( ) . property ( reference , 1 ) . build ( ) ; final uk . gov . gchq . gaffer . data . element . IDENT_6 IDENT_8 = new uk . gov . gchq . gaffer . data . element . IDENT_6 . Builder ( ) . property ( reference , 2 ) . build ( ) ; final uk . gov . gchq . gaffer . data . element . Element result = IDENT_5 . apply ( IDENT_7 , IDENT_8 ) ; "<AssertPlaceHolder>" ; } getProperty ( java . lang . String ) { final boolean IDENT_9 = uk . gov . gchq . gaffer . rest . service . v2 . IDENT_10 . IDENT_11 . containsKey ( IDENT_12 ) ; boolean IDENT_13 = IDENT_9 ; if ( ! IDENT_13 ) { final java . lang . String IDENT_14 = java . lang . System . getProperty ( uk . gov . gchq . gaffer . rest . service . v2 . IDENT_10 . IDENT_15 ) ; if ( null != IDENT_14 ) { final java . lang . String [ ] props = IDENT_14 . split ( STRING_1 ) ; IDENT_13 = org . apache . commons . lang3 . IDENT_16 . contains ( props , IDENT_12 ) ; } } java . lang . String IDENT_17 ; if ( IDENT_13 ) { IDENT_17 = java . lang . System . getProperty ( IDENT_12 ) ; if ( ( null == IDENT_17 ) && IDENT_9 ) { IDENT_17 = uk . gov . gchq . gaffer . rest . service . v2 . IDENT_10 . IDENT_11 . get ( IDENT_12 ) ; } } else { IDENT_17 = null ; } final javax . ws . rs . core . Response . IDENT_18 builder = ( null == IDENT_17 ) ? javax . ws . rs . core . Response . status ( INT_0 ) . entity ( new uk . gov . gchq . gaffer . core . exception . IDENT_19 . METHOD_2 ( ) . status ( Status . IDENT_20 ) . METHOD_3 ( INT_0 ) . METHOD_4 ( ( ( STRING_2 + IDENT_12 ) + STRING_3 ) ) . build ( ) ) . type ( IDENT_21 . IDENT_22 ) : javax . ws . rs . core . Response . METHOD_5 ( IDENT_17 ) . type ( IDENT_21 . IDENT_23 ) ; return builder . header ( IDENT_24 . IDENT_25 , IDENT_24 . IDENT_26 ) . build ( ) ; }
org . junit . Assert . assertEquals ( 3 , result . getProperty ( reference ) )