public function SerializationStopperTraitTest::test in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/SerializationStopperTraitTest.php \Drupal\Tests\flysystem\Unit\SerializationStopperTraitTest::test()
- 2.0.x tests/src/Unit/SerializationStopperTraitTest.php \Drupal\Tests\flysystem\Unit\SerializationStopperTraitTest::test()
- 3.0.x tests/src/Unit/SerializationStopperTraitTest.php \Drupal\Tests\flysystem\Unit\SerializationStopperTraitTest::test()
@covers ::__sleep
@expectedException \LogicException @expectedExceptionMessage can not be serialized.
File
- tests/
src/ Unit/ SerializationStopperTraitTest.php, line 20
Class
- SerializationStopperTraitTest
- @coversDefaultClass \Drupal\flysystem\SerializationStopperTrait @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
public function test() {
$trait = $this
->getMockForTrait(SerializationStopperTrait::class);
serialize($trait);
}