METHOD_0 ( ) { final uk . gov . gchq . gaffer . data . element . Entity entity = new uk . gov . gchq . gaffer . data . element . Entity ( STRING_0 ) ; final uk . gov . gchq . gaffer . data . element . IDENT_0 IDENT_1 = mock ( uk . gov . gchq . gaffer . data . element . IDENT_0 . class ) ; final uk . gov . gchq . gaffer . data . element . IDENT_2 IDENT_3 = new uk . gov . gchq . gaffer . data . element . METHOD_1 ( entity , IDENT_1 ) ; final java . lang . String IDENT_4 = STRING_1 ; final java . lang . String IDENT_5 = STRING_2 ; METHOD_2 ( IDENT_1 . getProperty ( IDENT_4 , IDENT_3 . METHOD_3 ( ) ) ) . METHOD_4 ( IDENT_5 ) ; java . lang . Object IDENT_6 = IDENT_3 . getProperty ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } getProperty ( java . lang . String ) { final boolean IDENT_7 = uk . gov . gchq . gaffer . rest . service . v2 . IDENT_8 . IDENT_9 . containsKey ( IDENT_4 ) ; boolean IDENT_10 = IDENT_7 ; if ( ! IDENT_10 ) { final java . lang . String IDENT_11 = java . lang . System . getProperty ( uk . gov . gchq . gaffer . rest . service . v2 . IDENT_8 . IDENT_12 ) ; if ( null != IDENT_11 ) { final java . lang . String [ ] props = IDENT_11 . split ( STRING_3 ) ; IDENT_10 = org . apache . commons . lang3 . IDENT_13 . contains ( props , IDENT_4 ) ; } } java . lang . String IDENT_14 ; if ( IDENT_10 ) { IDENT_14 = java . lang . System . getProperty ( IDENT_4 ) ; if ( ( null == IDENT_14 ) && IDENT_7 ) { IDENT_14 = uk . gov . gchq . gaffer . rest . service . v2 . IDENT_8 . IDENT_9 . get ( IDENT_4 ) ; } } else { IDENT_14 = null ; } final javax . ws . rs . core . Response . IDENT_15 builder = ( null == IDENT_14 ) ? javax . ws . rs . core . Response . status ( INT_0 ) . entity ( new uk . gov . gchq . gaffer . core . exception . IDENT_16 . METHOD_5 ( ) . status ( Status . IDENT_17 ) . METHOD_6 ( INT_0 ) . METHOD_7 ( ( ( STRING_4 + IDENT_4 ) + STRING_5 ) ) . build ( ) ) . type ( IDENT_18 . IDENT_19 ) : javax . ws . rs . core . Response . METHOD_8 ( IDENT_14 ) . type ( IDENT_18 . IDENT_20 ) ; return builder . header ( IDENT_21 . IDENT_22 , IDENT_21 . IDENT_23 ) . build ( ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_6 )