예제 #1
0
 /**
  * @test
  */
 public function countが要素数を返す()
 {
     $collection = new Collection([1, 2, 4]);
     $this->assertSame(3, $collection->count());
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function count()
 {
     return $this->collection->count();
 }