コード例 #1
0
 /**
  * Verifies behaviour of __construct when $input is empty.
  *
  * @test
  *
  * @return void
  */
 public function constructDefaults()
 {
     $container = new DataContainer([]);
     $this->assertSame(0, $container->getOffset());
     $this->assertSame(0, $container->getLimit());
     $this->assertSame(0, $container->getTotal());
     $this->assertSame(0, $container->getCount());
     $this->assertSame([], $container->getResults());
 }