public function testGetSortDirection() { $options = array('name' => 'asc'); $expected = 'asc'; $result = $this->query->getSortDirection($options); $this->assertEquals($expected, $result); }