Ejemplo n.º 1
0
 /**
  * @expectedException \RuntimeException
  */
 public function testThrowsExceptionAsJarIsMissing()
 {
     $this->dynamo = new LocalDynamo(9014, __DIR__ . "/no-good-path");
     $this->dynamo->start();
     $client = $this->dynamo->getClient();
     $client->listTables();
 }
Ejemplo n.º 2
0
 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'));
 }