test/mock/MockEncryptionBehavior.php
<?php
namespace Athens\Encryption\Test\Mock;
use Athens\Encryption\EncryptionBehavior;
class MockEncryptionBehavior extends EncryptionBehavior
{
protected $table;
protected $parameters;
public function __construct($columns, $parameters)
{
$this->parameters = $parameters;
$this->table = new MockTable($columns);
parent::__construct();
}
public function getTable()
{
return $this->table;
}
}