public function testAddIndex() { $instance = new Table('Foo'); $instance->addIndex('bar'); $expected = array('indicies' => array('bar')); $this->assertEquals($expected, $instance->getConfiguration()); $this->assertInternalType('string', $instance->getHash()); }