You are here

private function SwaggerUiLibraryDiscoveryTest::setUpLibraryVersionTest in Swagger UI Field Formatter 8.3

Setup method for SwaggerUiLibraryDiscovery::libraryVersion() tests.

5 calls to SwaggerUiLibraryDiscoveryTest::setUpLibraryVersionTest()
SwaggerUiLibraryDiscoveryTest::testWithMalformedPackageJson in tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php
Tests with malformed package.json.
SwaggerUiLibraryDiscoveryTest::testWithMissingPackageJson in tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php
Tests with missing package.json.
SwaggerUiLibraryDiscoveryTest::testWithMissingVersionInPackageJson in tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php
Tests with missing version in package.json.
SwaggerUiLibraryDiscoveryTest::testWithUnsupportedPackageJson in tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php
Tests with unsupported package.json.
SwaggerUiLibraryDiscoveryTest::testWithValidLibraryVersion in tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php
Tests with valid library version.

File

tests/src/Unit/SwaggerUiLibraryDiscoveryTest.php, line 273

Class

SwaggerUiLibraryDiscoveryTest
Tests the Swagger UI library discovery service.

Namespace

Drupal\Tests\swagger_ui_formatter\Unit

Code

private function setUpLibraryVersionTest() : void {
  $this->themeHandler
    ->expects($this
    ->never())
    ->method('getDefault');
}