public function testNameDeterminesFormat() { $column = new Column($this->table, 'test:image'); $this->assertEquals('test', $column->getName()); $this->assertInstanceOf('ResultTable\\Formatter\\Image', $column->getFormatter()); }