Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move expectation return test into unit tests #74

Merged
merged 9 commits into from
Sep 20, 2016
14 changes: 14 additions & 0 deletions tests/WP_MockTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

class WP_MockTest extends PHPUnit_Framework_TestCase
{

public function test_userFunction_returns_expectation()
{
$this->assertInstanceOf(
'\Mockery\ExpectationInterface',
WP_Mock::userFunction('testWpMockFunction')
);
}

}