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 uk . gov . gchq . gaffer . data . element . Entity result = IDENT_3 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( null == ( element ) ) { if ( METHOD_3 ( ) ) { throw new java . lang . IllegalStateException ( STRING_1 ) ; } try { METHOD_4 ( IDENT_4 . METHOD_2 ( IDENT_5 , IDENT_6 ) ) ; } catch ( final uk . gov . gchq . gaffer . exception . IDENT_7 e ) { throw new java . lang . RuntimeException ( e ) ; } } return element ; }
org . junit . Assert . assertSame ( entity , result )