/** * @expectedException \RuntimeException */ public function testThrowsExceptionAsJarIsMissing() { $this->dynamo = new LocalDynamo(9014, __DIR__ . "/no-good-path"); $this->dynamo->start(); $client = $this->dynamo->getClient(); $client->listTables(); }
public function testBasicTableCreate() { $client = $this->dynamo->getClient(); $client->createTable($this->testTableConfig); $client->waitUntil('TableExists', array('TableName' => 'test-table-mead-steve')); $result = $client->listTables(); $this->assertEquals(['test-table-mead-steve'], $result->get('TableNames')); }