We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e7b08 commit ef71054Copy full SHA for ef71054
tests/Integration/DynamoDbClientTest.php
@@ -289,6 +289,18 @@ public function testTableExists(): void
289
self::assertFalse($client->tableExists(['TableName' => 'does-not-exists'])->isSuccess());
290
}
291
292
+ public function testTableNotExists(): void
293
+ {
294
+ $client = $this->getClient();
295
+
296
+ $input = new DescribeTableInput([
297
+ 'TableName' => $this->tableName,
298
+ ]);
299
300
+ self::assertFalse($client->tableNotExists($input)->isSuccess());
301
+ self::assertTrue($client->tableNotExists(['TableName' => 'does-not-exists'])->isSuccess());
302
+ }
303
304
private function getClient(): DynamoDbClient
305
{
306
if ($this->client instanceof DynamoDbClient) {
0 commit comments