METHOD_0 ( ) { org . mockito . IDENT_0 < com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_4 > IDENT_5 = org . mockito . IDENT_0 . METHOD_1 ( com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_4 . class ) ; METHOD_2 ( this . IDENT_6 . METHOD_3 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . impl . IDENT_7 . IDENT_8 ) ) . METHOD_4 ( IDENT_9 ) ; METHOD_2 ( this . IDENT_6 . METHOD_5 ( IDENT_9 ) ) . METHOD_4 ( IDENT_9 ) ; this . IDENT_10 . METHOD_6 ( IDENT_11 ) ; verify ( this . IDENT_6 ) . METHOD_5 ( IDENT_5 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; METHOD_8 ( this . IDENT_6 ) . METHOD_9 ( ) . METHOD_3 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . impl . IDENT_7 . IDENT_8 ) ; METHOD_8 ( this . IDENT_6 ) . METHOD_9 ( ) . METHOD_5 ( IDENT_12 ) ; METHOD_10 ( this . IDENT_13 ) ; } METHOD_6 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . domain . IDENT_14 ) { org . springframework . util . Assert . METHOD_11 ( position ) ; org . springframework . util . Assert . METHOD_11 ( position . getName ( ) ) ; com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_15 IDENT_16 = this . IDENT_17 . METHOD_3 ( position . getName ( ) ) ; if ( IDENT_16 == null ) { IDENT_16 = this . IDENT_13 . convert ( position , com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_15 . class ) ; } else if ( ( ( IDENT_16 . METHOD_12 ( ) ) != null ) && ( IDENT_16 . METHOD_12 ( ) ) ) { IDENT_16 . METHOD_13 ( false ) ; } else { throw new com . IDENT_1 . IDENT_2 . IDENT_3 . service . exception . METHOD_14 ( position . getName ( ) ) ; } this . IDENT_17 . METHOD_5 ( IDENT_16 ) ; return IDENT_16 . getId ( ) ; }
org . junit . Assert . assertThat ( IDENT_12 , org . hamcrest . CoreMatchers . equalTo ( IDENT_5 . getValue ( ) ) )