%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/prospamfilter/vendor/codeception/codeception/tests/support/
Upload File :
Create Path :
Current File : //usr/local/prospamfilter/vendor/codeception/codeception/tests/support/EmulateModuleHelper.php

<?php
namespace Codeception\Module;

// here you can define custom functions for CodeGuy 

class EmulateModuleHelper extends \Codeception\Module
{
    public $assertions = 0;

    public function seeEquals($expected, $actual)
    {
        \PHPUnit_Framework_Assert::assertEquals($expected, $actual);
        $this->assertions++;
    }
    
    public function seeFeaturesEquals($expected) {
        \PHPUnit_Framework_Assert::assertEquals($expected, $this->feature);
    }

    public function _before(\Codeception\TestInterface $test) {
        $this->feature = $test->getMetadata()->getFeature();
    }
}

Zerion Mini Shell 1.0