Exemple #1
0
 public function testWhere()
 {
     // Arrange
     $a = [['name' => 'fred', 'age' => 32], ['name' => 'maciej', 'age' => 16]];
     // Act
     $x = __::where($a, ['age' => 16]);
     // Assert
     $this->assertEquals([$a[1]], $x);
 }