METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 m = mock ( org . xwiki . IDENT_0 . IDENT_1 . class ) ; org . xwiki . IDENT_0 . IDENT_2 ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; org . xwiki . IDENT_0 . IDENT_3 filter = mock ( org . xwiki . IDENT_0 . IDENT_3 . class , STRING_0 ) ; org . xwiki . IDENT_0 . IDENT_3 IDENT_4 = new org . xwiki . IDENT_0 . internal . filter . METHOD_1 ( ) ; java . util . Map < java . lang . String , java . lang . String > params = new java . util . HashMap ( ) ; params . put ( STRING_1 , STRING_2 ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; when ( ex . getId ( ) ) . thenReturn ( STRING_3 ) ; org . IDENT_5 . configuration . IDENT_6 s = new org . IDENT_5 . configuration . spi . METHOD_3 ( ex , m , filter ) ; java . util . List < org . xwiki . IDENT_0 . IDENT_2 > fields = new java . util . METHOD_4 ( ) ; ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; params = new java . util . HashMap ( ) ; params . put ( STRING_1 , STRING_4 6 ) ; params . put ( STRING_4 , "" ) ; params . put ( org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 , STRING_4 0 ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; fields . add ( ex ) ; ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; params = new java . util . HashMap ( ) ; params . put ( STRING_1 , STRING_4 4 ) ; params . put ( STRING_4 , STRING_5 ) ; params . put ( org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 , "1" ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; fields . add ( ex ) ; ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; params = new java . util . HashMap ( ) ; params . put ( STRING_1 , STRING_4 1 ) ; params . put ( STRING_4 , STRING_4 5 ) ; params . put ( org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 , STRING_6 ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; fields . add ( ex ) ; ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; params = new java . util . HashMap ( ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; params . put ( STRING_1 , STRING_4 2 ) ; fields . add ( ex ) ; ex = mock ( org . xwiki . IDENT_0 . IDENT_2 . class ) ; params = new java . util . HashMap ( ) ; params . put ( STRING_1 , STRING_4 7 ) ; params . put ( org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 , STRING_7 ) ; when ( ex . METHOD_2 ( ) ) . thenReturn ( params ) ; fields . add ( ex ) ; when ( m . get ( STRING_3 ) ) . thenReturn ( fields ) ; java . util . List < org . xwiki . IDENT_0 . IDENT_2 > IDENT_9 = IDENT_4 . filter ( fields , org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 ) ; when ( filter . filter ( fields , org . IDENT_5 . configuration . spi . IDENT_7 . IDENT_8 ) ) . thenReturn ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } toString ( ) { return getName ( ) ; }
org . junit . Assert . assertEquals ( STRING_4 3 , s . toString ( ) )