public function testApiCall_ThrowsException_WhenModelThrowsException()
{
$this->setExpectedException(ReadException::class);
$container = $this->createContainer();
$callback = function () {
};
$args = [];
$this->reflector->reflectArguments(Argument::cetera())->willThrow(new Exception())->shouldBeCalledTimes(1);
$container->call($callback, $args);
}