METHOD_0 ( ) { @ org . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( STRING_0 ) org . IDENT_0 . IDENT_1 . util . IDENT_3 . impl . IDENT_4 < org . IDENT_0 . IDENT_1 . solution . IDENT_5 < ? > > IDENT_6 = mock ( org . IDENT_0 . IDENT_1 . util . IDENT_3 . impl . IDENT_4 . class ) ; when ( IDENT_6 . METHOD_2 ( any ( org . IDENT_0 . IDENT_1 . solution . IDENT_7 . class ) ) ) . thenReturn ( 2.0 , 2.0 , 2.0 , 2.0 ) ; org . springframework . test . util . IDENT_8 . METHOD_3 ( IDENT_2 , STRING_1 , IDENT_6 ) ; org . IDENT_0 . IDENT_1 . solution . IDENT_7 IDENT_9 = mock ( org . IDENT_0 . IDENT_1 . solution . IDENT_7 . class ) ; org . IDENT_0 . IDENT_1 . solution . IDENT_7 IDENT_10 = mock ( org . IDENT_0 . IDENT_1 . solution . IDENT_7 . class ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 , times ( 4 ) ) . METHOD_2 ( any ( org . IDENT_0 . IDENT_1 . solution . IDENT_5 . class ) ) ; } compare ( IDENT_11 extends org . IDENT_0 . IDENT_1 . solution . IDENT_5 , IDENT_11 extends org . IDENT_0 . IDENT_1 . solution . IDENT_5 ) { if ( ( IDENT_12 . METHOD_2 ( IDENT_9 ) ) == null ) { return 0 ; } double IDENT_13 ; double IDENT_14 ; IDENT_13 = ( IDENT_15 . METHOD_2 ( IDENT_9 ) ) * ( IDENT_12 . METHOD_2 ( IDENT_9 ) ) ; IDENT_14 = ( IDENT_15 . METHOD_2 ( IDENT_10 ) ) * ( IDENT_12 . METHOD_2 ( IDENT_10 ) ) ; if ( ( IDENT_13 < 0 ) && ( IDENT_14 < 0 ) ) { if ( IDENT_13 > IDENT_14 ) { return - 1 ; } else if ( IDENT_14 > IDENT_13 ) { return 1 ; } else { return 0 ; } } else if ( ( IDENT_13 == 0 ) && ( IDENT_14 < 0 ) ) { return - 1 ; } else if ( ( IDENT_13 < 0 ) && ( IDENT_14 == 0 ) ) { return 1 ; } else { return 0 ; } }
org . junit . Assert . assertEquals ( 0 , IDENT_2 . compare ( IDENT_9 , IDENT_10 ) )