Permalink
Browse files

Added tests for set and prepend fluency.

  • Loading branch information...
1 parent dedd8ce commit eaa3c4fcfbd02f4e5a66b983bd7b6b84a9d1c07d Jerry Saravia committed Oct 4, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 tests/ZendTest/View/Helper/Placeholder/ContainerTest.php
@@ -126,6 +126,26 @@ public function testSetPostfixImplementsFluentInterface()
/**
* @return void
*/
+
+ public function testPrependImplementsFluentInterface()
+ {
+ $result = $this->container->prepend( 'test' );
+ $this->assertSame($this->container, $result);
+ }
+
+ /**
+ * @return void
+ */
+ public function testSetImplementsFluentInterface()
+ {
+ $result = $this->container->set( 'test' );
+ $this->assertSame($this->container, $result);
+ }
+
+
+ /**
+ * @return void
+ */
public function testSeparatorAccesorsWork()
{
$this->assertEquals('', $this->container->getSeparator());

0 comments on commit eaa3c4f

Please sign in to comment.