Exemplo n.º 1
0
 /**
  * Test pushing element onto collection
  *
  * @return void
  */
 public function testPush()
 {
     $this->collection->push(4);
     $this->assertCount(4, $this->collection);
     $this->assertTrue($this->collection->contains(4));
     $this->assertEquals(4, $this->collection->get(3));
 }