You are here

public static function UpdateTestFileTransfer::factory in Drupal 7

Returns an UpdateTestFileTransfer object.

Return value

A new UpdateTestFileTransfer object.

File

modules/update/tests/update_test.module, line 167
Module for testing Update Manager functionality.

Class

UpdateTestFileTransfer
Mocks a FileTransfer object to test the settings form functionality.

Code

public static function factory() {
  return new UpdateTestFileTransfer();
}