METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . core . property . IDENT_2 parser = mock ( com . IDENT_0 . IDENT_1 . core . property . IDENT_2 . class ) ; IDENT_3 . add ( parser ) ; com . IDENT_0 . IDENT_1 . core . property . IDENT_4 IDENT_5 = mock ( com . IDENT_0 . IDENT_1 . core . property . IDENT_4 . class ) ; when ( parser . pattern ( ) ) . thenReturn ( java . util . regex . IDENT_6 . METHOD_1 ( STRING_0 ) ) ; when ( parser . METHOD_2 ( any ( ) , any ( ) ) ) . thenReturn ( IDENT_5 ) ; com . IDENT_0 . IDENT_1 . core . property . IDENT_4 result = METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; verify ( parser ) . METHOD_2 ( STRING_2 , factory ) ; } METHOD_2 ( java . lang . String , com . IDENT_0 . IDENT_1 . core . property . IDENT_7 ) { com . IDENT_0 . IDENT_1 . core . property . IDENT_4 IDENT_5 = factory . METHOD_3 ( IDENT_8 ) ; return new com . IDENT_0 . IDENT_1 . core . property . IDENT_9 . METHOD_4 ( IDENT_5 ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , result )