4 * This file is part of the Prophecy.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6 * Marcello Duarte <marcello.duarte@gmail.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Prophecy\Prediction;
14 use Prophecy\Call\Call;
15 use Prophecy\Prophecy\ObjectProphecy;
16 use Prophecy\Prophecy\MethodProphecy;
19 * Prediction interface.
20 * Predictions are logical test blocks, tied to `should...` keyword.
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
24 interface PredictionInterface
27 * Tests that double fulfilled prediction.
29 * @param Call[] $calls
30 * @param ObjectProphecy $object
31 * @param MethodProphecy $method
36 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method);