You are here

public function XlsTest::testSupportsEncoding in Excel Serialization 8

@covers ::supportsEncoding

File

tests/src/Unit/Encoder/XlsTest.php, line 22

Class

XlsTest
Tests the XLS encoder.

Namespace

Drupal\Tests\xls_serialization\Unit\Encoder

Code

public function testSupportsEncoding() {
  $encoder = new Xls();
  $this
    ->assertTrue($encoder
    ->supportsEncoding('xls'));
  $this
    ->assertFalse($encoder
    ->supportsEncoding('doc'));
}