diff --git a/test/Writer/Renderer/Entry/AtomTest.php b/test/Writer/Renderer/Entry/AtomTest.php index a3cc8518..abc9f26d 100644 --- a/test/Writer/Renderer/Entry/AtomTest.php +++ b/test/Writer/Renderer/Entry/AtomTest.php @@ -76,11 +76,7 @@ public function tearDown() public function testRenderMethodRunsMinimalWriterContainerProperlyBeforeICheckAtomCompliance() { $renderer = new Renderer\Feed\Atom($this->_validWriter); - try { - $renderer->render(); - } catch (Writer\Exception $e) { - $this->fail('Valid Writer object caused an exception when building which should never happen'); - } + $renderer->render(); } public function testEntryEncodingHasBeenSet() diff --git a/test/Writer/Renderer/Entry/RssTest.php b/test/Writer/Renderer/Entry/RssTest.php index 7fb7c37b..426f0c90 100644 --- a/test/Writer/Renderer/Entry/RssTest.php +++ b/test/Writer/Renderer/Entry/RssTest.php @@ -65,11 +65,7 @@ public function tearDown() public function testRenderMethodRunsMinimalWriterContainerProperlyBeforeICheckAtomCompliance() { $renderer = new Renderer\Feed\Rss($this->_validWriter); - try { - $renderer->render(); - } catch (Writer\Exception $e) { - $this->fail('Valid Writer object caused an exception when building which should never happen'); - } + $renderer->render(); } public function testEntryEncodingHasBeenSet() diff --git a/test/Writer/Renderer/Feed/AtomTest.php b/test/Writer/Renderer/Feed/AtomTest.php index 62a706e3..73774086 100644 --- a/test/Writer/Renderer/Feed/AtomTest.php +++ b/test/Writer/Renderer/Feed/AtomTest.php @@ -69,11 +69,7 @@ public function testSetsWriterInConstructor() public function testBuildMethodRunsMinimalWriterContainerProperlyBeforeICheckAtomCompliance() { $feed = new Renderer\Feed\Atom($this->_validWriter); - try { - $feed->render(); - } catch (Writer\Exception $e) { - $this->fail('Valid Writer object caused an exception when building which should never happen'); - } + $feed->render(); } public function testFeedEncodingHasBeenSet() diff --git a/test/Writer/Renderer/Feed/RssTest.php b/test/Writer/Renderer/Feed/RssTest.php index af88dffc..95ff42bf 100644 --- a/test/Writer/Renderer/Feed/RssTest.php +++ b/test/Writer/Renderer/Feed/RssTest.php @@ -64,11 +64,7 @@ public function testSetsWriterInConstructor() public function testBuildMethodRunsMinimalWriterContainerProperlyBeforeICheckRssCompliance() { $feed = new Renderer\Feed\Rss($this->_validWriter); - try { - $feed->render(); - } catch (Writer\Exception\ExceptionInterface $e) { - $this->fail('Valid Writer object caused an exception when building which should never happen'); - } + $feed->render(); } public function testFeedEncodingHasBeenSet()