add unit tests

This commit is contained in:
Matthew Goslett 2017-07-27 14:11:46 +02:00
parent 00cb369d0b
commit 9c2453f0e4
8 changed files with 508 additions and 22 deletions

View file

@ -2,7 +2,6 @@
namespace Superbalist\LaravelPrometheusExporter;
use Illuminate\Contracts\Container\Container;
use InvalidArgumentException;
use Prometheus\Storage\Adapter;
use Prometheus\Storage\APC;
@ -11,19 +10,6 @@ use Prometheus\Storage\Redis;
class StorageAdapterFactory
{
/**
* @var Container
*/
protected $container;
/**
* @param Container $container
*/
public function __construct(Container $container)
{
$this->container = $container;
}
/**
* Factory a storage adapter.
*