Skip to content

Commit

Permalink
Tested: FluentDOM\XMLWriter\NamespaceDefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWeinert committed Jul 27, 2017
1 parent f9cb6f2 commit c522ccd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/FluentDOM/XMLWriter/NamespaceDefinitionTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
namespace FluentDOM\XMLWriter {

use FluentDOM\TestCase;

require_once(__DIR__ . '/../TestCase.php');

class NamespaceDefinitionTest extends TestCase {

/**
* @covers \FluentDOM\XMLWriter\NamespaceDefinition
*/
public function testDecreaseExpectingException() {
$definition = new NamespaceDefinition();
$this->expectException(\LogicException::class);
$definition->decreaseDepth();
}
}
}

0 comments on commit c522ccd

Please sign in to comment.