METHOD_0 ( ) { org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( ) ; org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_6 client = mock ( org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_6 . class , org . opennms . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_7 ) ; when ( client . METHOD_2 ( ) . METHOD_3 ( "test" ) . METHOD_4 ( any ( ) ) . execute ( ) . get ( ) ) . thenReturn ( IDENT_5 ) ; try { org . opennms . IDENT_0 . IDENT_1 . service . METHOD_2 . IDENT_8 . METHOD_5 ( client ) ; final java . lang . String IDENT_9 = org . opennms . IDENT_0 . IDENT_1 . service . METHOD_2 . IDENT_10 . METHOD_6 ( STRING_0 ) ; org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 . METHOD_1 IDENT_11 = org . opennms . core . xml . IDENT_12 . METHOD_7 ( org . opennms . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 . METHOD_1 . class , IDENT_9 ) ; "<AssertPlaceHolder>" ; } finally { org . opennms . IDENT_0 . IDENT_1 . service . METHOD_2 . IDENT_8 . METHOD_5 ( null ) ; } } METHOD_7 ( java . lang . Class , java . io . File ) { return org . opennms . core . xml . IDENT_12 . METHOD_7 ( clazz , file , org . opennms . core . xml . IDENT_12 . IDENT_13 ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_11 )