public function testGetPopulatedWithProperties() { $allMembers = new All(); $allMembers->setOrder('order-direction')->setPage(3); $this->assertEquals(['order' => 'order-direction', 'page' => 3], $allMembers->getPopulated()); }
public function testSetOrder() { $options = new All(); $this->assertInstanceOf('MadMimi\\Options\\Members\\All', $options->setOrder('first_name')); $this->assertAttributeEquals('first_name', 'order', $options); }