public function testTableWhitespace() { $tb = new TomlBuilder(); $result = $tb->addTable('valid key')->getTomlString(); $this->assertNotNull(Toml::Parse($result)); }
/** * @expectedException \Yosymfony\Toml\Exception\DumpException */ public function testNonStringTable() { $tb = new TomlBuilder(); $result = $tb->addTable(2)->getTomlString(); }