Skip to content
Discussion options

You must be logged in to vote

In the method matcher pattern you have to write the pattern in a way such that it matches the declaration signature: java.lang.String valueOf(java.lang.Object). If you also want it to match the other overloads of this method for the primitive types, you can use java.lang.String valueOf(*)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@seachicken
Comment options

@knutwannheden
Comment options

@seachicken
Comment options

@seachicken
Comment options

Answer selected by knutwannheden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants