function FileTransferTest::testFileTransferMagicMethods

Tests the value returned by __get().

File

core/modules/system/tests/src/Unit/FileTransfer/FileTransferTest.php, line 38

Class

FileTransferTest
Tests for the file transfer system.

Namespace

Drupal\Tests\system\Unit\FileTransfer

Code

public function testFileTransferMagicMethods() : void {
  // Test to ensure __get() preserves public access.
  $this->assertInstanceOf(MockTestConnection::class, $this->testConnection->connection);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.