function it_should_throw_invalid_argument_exception()
{
\Atrauzzi\LaravelDoctrine\CacheFactory::setProviders(['memcached' => 'Atrauzzi\\LaravelDoctrine\\CacheProvider\\MemcachedProvider']);
$this->beConstructedThrough('getCacheProvider', ['memcached', []]);
try {
$this->getWrappedObject();
throw new ExampleException('but no runtime exception was thrown.');
} catch (\InvalidArgumentException $e) {
}
}