I'm not using Zend\Db but is this really something you'd like to test ? After all, this method only uses the table gateway which should have been tested.
I think the best way to test that kind of thing would be to use something similar as fixtures, with real input data. I'm looking forward the answer though ! -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/How-to-test-complex-Query-in-ZF2-using-phpunit-tp4659268p4659322.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
