Skip to content

Duda sobre Mock/JUnit #243

May 28, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hola @nubevi :

Efectivamente la excepción por null pointer esta sucediendo en esa linea. Proba por cambiarlo por:
(anyInt(), any(), anyInt(), anyInt(), any(Consumer.class));

Igual creo que el error viene más por los any cuando son int que el del consumer.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nubevi
Comment options

@nubevi
Comment options

@nanderson87
Comment options

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