PHPackages                             netrivet/ezekiel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. netrivet/ezekiel

Abandoned → [downshiftorg/ezekiel](/?search=downshiftorg%2Fezekiel)Library[Testing &amp; Quality](/categories/testing)

netrivet/ezekiel
================

Alternative syntax wrapper and added convenience methods for using phpspec/prophecy within PHPUnit

2.0.0(8y ago)17.5k1MITPHPPHP &gt;=5.4.0

Since Mar 9Pushed 8y ago2 watchersCompare

[ Source](https://github.com/netrivet/ezekiel)[ Packagist](https://packagist.org/packages/netrivet/ezekiel)[ RSS](/packages/netrivet-ezekiel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (15)Used By (0)

Ezekiel
=======

[](#ezekiel)

Ezekiel gives you an alternate wrapper, some syntactic sugar, and added convenience methods for working with the [phpspec/prophecy](https://github.com/phpspec/prophecy) library from within [PHPUnit](http://phpunit.de).

For making simple stubs and mocks with Prophecy, Ezekiel reduces a lot of the boilerplate code and gives you a terse, but fairly expressive syntax for creating test double objects.

A simple example
----------------

[](#a-simple-example)

Say you wanted to a quick and dirty test dummy. Using Prophecy directly, you'd need to do something like this:

```
