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