METHOD_0 ( ) { IDENT_0 . METHOD_1 ( ( - 1 ) ) ; when ( IDENT_1 . METHOD_2 ( any ( org . oscm . IDENT_2 . IDENT_3 . class ) ) ) . thenReturn ( 2 ) ; IDENT_0 . METHOD_3 ( IDENT_1 ) ; org . IDENT_4 . model . IDENT_5 IDENT_6 = new org . IDENT_4 . model . METHOD_4 ( ) { @ org . oscm . ui . model . Override public java . util . List < org . IDENT_4 . model . IDENT_7 > METHOD_5 ( ) { return java . util . Collections . emptyList ( ) ; } @ org . oscm . ui . model . Override public java . util . List < org . IDENT_4 . model . IDENT_8 > METHOD_6 ( ) { return java . util . Collections . emptyList ( ) ; } @ org . oscm . ui . model . Override public java . util . Locale METHOD_7 ( ) { return java . util . Locale . IDENT_9 ; } } ; when ( IDENT_0 . METHOD_8 ( ) ) . thenReturn ( IDENT_6 ) ; METHOD_9 ( ) . when ( IDENT_0 ) . METHOD_10 ( METHOD_11 ( ) , any ( org . oscm . IDENT_2 . IDENT_3 . class ) ) ; int IDENT_10 = IDENT_0 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 , METHOD_13 ( ) ) . METHOD_2 ( any ( org . oscm . IDENT_2 . IDENT_3 . class ) ) ; } METHOD_12 ( ) { try { org . oscm . IDENT_2 . IDENT_3 pagination = new org . oscm . IDENT_2 . METHOD_14 ( ) ; METHOD_10 ( METHOD_8 ( ) . METHOD_5 ( ) , pagination ) ; METHOD_1 ( IDENT_1 . METHOD_2 ( pagination ) . METHOD_15 ( ) ) ; } catch ( org . oscm . internal . types . exception . IDENT_11 e ) { org . oscm . ui . model . IDENT_12 . logger . METHOD_16 ( IDENT_13 . IDENT_14 , e , IDENT_15 . IDENT_16 ) ; } return super . METHOD_12 ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_10 )