assertEquals( sprintf( $content_with_hashtag, $link ), $content ); } public function the_content_provider() { return array( array( 'test', 'test' ), array( '#test', '#test' ), array( 'hallo #test test', 'hallo #test test' ), array( 'hallo #object test', 'hallo test' ), array( '#object test', ' test' ), array( 'hallo test test', 'hallo test test' ), array( 'hallo #test test', 'hallo #test test' ), array( '
hallo #object test
', '
hallo test
' ), array( '
hallo #object
', '
hallo
' ), array( '
#object
', '
#object
' ), array( '#object', '#object' ), array( '
object', '
object' ), ); } }