JeremyKendall\Password\Tests\Decorator\IntegrationTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->callback = function ($credential, $passwordHash) {
            if (hash('sha512', $credential) === $passwordHash) {
                return true;
            }
            return false;
        };
        $this->storage = $this->getMock('JeremyKendall\\Password\\Storage\\StorageInterface');
    }