public function testGetColumnFieldsReturnsConstructorValue() { $expected = array('day'); $pivot = new PivotDescription($this->dataTable, $expected); $actual = $pivot->getColumnFields(); $this->assertEquals($expected, $actual, "Expect to get my value back"); }
/** * @return array */ public function getColumnFieldIndexes() { $indexes = $this->getColumnIndexesById($this->pivotDescription->getColumnFields()); return $indexes; }