public function testGenerateQueryShouldReturnSimpleFind() { $result = $this->driver->generateQuery(Collection::my_coll()); $this->assertEquals([], $result); }
public function provideGenerateQueryShouldReturnSimpleFindById() { return ['simple return' => [Collection::my_coll(42), ['_id' => ['AttributeValueList' => [['N' => 42]], 'ComparisonOperator' => 'EQ']]]]; }
public function provideGenerateQueryShouldReturnSimpleFindById() { return ['simple return' => [Collection::my_coll('56d6fb233f90a8231f0041a9'), ['_id' => '56d6fb233f90a8231f0041a9']]]; }