for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GuillermoandraeTest\DynamoDb;
use Aws\DynamoDb\Marshaler;
use Guillermoandrae\DynamoDb\ListTablesRequest;
use PHPUnit\Framework\TestCase;
final class ListTablesRequestTest extends TestCase
{
public function testSetLastEvaluatedTableName()
$request = new ListTablesRequest(new Marshaler());
$request->setLastEvaluatedTableName('test');
$expectedQuery = [
'LastEvaluatedTableName' => 'test',
];
$this->assertEquals($expectedQuery, $request->toArray());
}
public function testSetLimit()
$request->setLimit(5);
'Limit' => 5,