Quantcast
Channel: artur.ejsmont.org - Unit Testing
Viewing all articles
Browse latest Browse all 4

A great way to mock chained calls in PHPUnit

$
0
0

Few days ago i had to write a groovy test for a java class and i had a long chain of calls to mock. I was not sure how to test it nicely and i started wondering is there a nicer way to do it in PHP. Usually in PHP there is a nice way to do almost anything :D

read more


Viewing all articles
Browse latest Browse all 4

Trending Articles