/**
  * @test
  */
 public function buildTwoTables()
 {
     $years = array(1989, 1992);
     $groupedValues = array($this->groupedList(), $this->groupedList());
     $this->assertEquals($this->doubleTableJSONModel(), $this->TableJsonBuilder->build($groupedValues, $years));
 }
 /**
  * @test
  */
 public function buildTableFromAList()
 {
     $years = array(1989, 1992);
     $this->assertEquals($this->singleTableJSONModel(), $this->TableJsonBuilder->build($this->groupedList(), $years));
 }