/**
* Simple test that will test if the immutable object is created as wished
*/
public function testBasicColumnConfiguration()
{
$name = "fooBar";
$cc = ColumnConfigurationBuilder::create()->name($name)->searchable(Searchable::REGEX())->orderable(Orderable::NONE())->build();
$this->assertSame($name, $cc->getName(), "Name should be set correctly");
$this->assertTrue($cc->getSearch()->isSearchable(), "The column should be searchable");
$this->assertFalse($cc->getOrder()->isOrderable(), "The column should be orderable");
}