for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sokil\FraudDetector\Storage;
class FakeStorage extends AbstractStorage
{
private $fakeStorage = array();
public function store($key)
$this->fakeStorage[] = $key;
return $this;
}
public function isStored($key)
return in_array($key, $this->fakeStorage);