public function testSetConnectionThrowsRuntimeException() { $gateway = $this->getStorageGateway(); $gateway->setConnection(new \DateTime()); }