Codeception / Codeception/AspectMock

Best way to return multiple values from mocked methods

Abierto
#45 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PHP
Estrellas
784
Forks
132
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

One of the classes I'm mocking is called few times along the process and from what I read in the docs, I can only return a single value when defining the mock. Is there a way to change the returning values on each call?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.