1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- /*
- * This file is part of the Lime test framework.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- * (c) Bernhard Schussek <bernhard.schussek@symfony-project.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- /**
- * Requires a method call to be invoked any time.
- *
- * This matcher always passes.
- *
- * @package Lime
- * @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
- * @version SVN: $Id: LimeMockInvocationMatcherAny.php 23701 2009-11-08 21:23:40Z bschussek $
- * @see LimeMockInvocationMatcherInterface
- */
- class LimeMockInvocationMatcherAny implements LimeMockInvocationMatcherInterface
- {
- /**
- * (non-PHPdoc)
- * @see mock/matcher/LimeMockInvocationMatcherInterface#invoke($invocation)
- */
- public function invoke(LimeMockInvocation $invocation)
- {
- }
- /**
- * (non-PHPdoc)
- * @see mock/matcher/LimeMockInvocationMatcherInterface#isInvokable()
- */
- public function isInvokable()
- {
- return true;
- }
- /**
- * (non-PHPdoc)
- * @see mock/matcher/LimeMockInvocationMatcherInterface#isSatisfied()
- */
- public function isSatisfied()
- {
- return true;
- }
- /**
- * (non-PHPdoc)
- * @see mock/matcher/LimeMockInvocationMatcherInterface#getMessage()
- */
- public function getMessage()
- {
- return '';
- }
- }
|