public function testConstructor() { $this->assertInstanceOf('Pop\\Paginator\\Paginator', new Paginator(array())); $this->assertInstanceOf('Pop\\Paginator\\Paginator', Paginator::factory(array())); }