You are here

public function ContainerTest::testSerialize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php \Drupal\Tests\Core\DependencyInjection\ContainerTest::testSerialize()

Tests serialization.

@expectedException \AssertionError

File

core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php, line 25
Contains \Drupal\Tests\Core\DependencyInjection\ContainerTest.

Class

ContainerTest
@coversDefaultClass \Drupal\Core\DependencyInjection\Container @group DependencyInjection

Namespace

Drupal\Tests\Core\DependencyInjection

Code

public function testSerialize() {
  $container = new Container();
  serialize($container);
}