Esempio n. 1
0
 /**
  * @dataProvider columnTypeProvider
  *
  * @param string $columnType The type of column to make
  */
 public function testBoardCreateColumn($columnType)
 {
     $this->pulseBoard->createColumn($columnType . " Column", $columnType);
     $newColumns = $this->pulseBoard->getColumns();
     $newColumnCount = count($newColumns);
     $newestColumn = $newColumns[count($newColumns) - 1];
     $this->assertEquals($this->pulseColumnCount + 1, $newColumnCount);
     $this->assertEquals($columnType, $newestColumn->getType());
 }