METHOD_0 ( ) { org . jboss . IDENT_0 . container . IDENT_1 engine = mock ( org . jboss . IDENT_0 . container . IDENT_1 . class ) ; java . util . Set < org . jboss . IDENT_0 . load . IDENT_2 . IDENT_3 > metrics = new java . util . HashSet ( ) ; org . jboss . IDENT_0 . load . IDENT_2 . IDENT_3 IDENT_2 = mock ( org . jboss . IDENT_0 . load . IDENT_2 . IDENT_3 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; when ( IDENT_2 . METHOD_2 ( engine ) ) . METHOD_3 ( new org . jboss . IDENT_0 . load . IDENT_2 . METHOD_4 ( ) ) ; metrics . add ( IDENT_2 ) ; org . jboss . IDENT_0 . load . impl . IDENT_5 provider = new org . jboss . IDENT_0 . load . impl . METHOD_5 ( metrics ) ; int IDENT_6 = provider . METHOD_0 ( engine ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( org . jboss . IDENT_0 . container . IDENT_1 ) { return this . IDENT_6 ; }
org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_6 )