/** * @dataProvider whereDataProvider * * @param Alius\Query\Statement $instance */ public function testAndWhereArray(Statement $instance) { $instance->andWhereArray(['foo' => 'bar', 'bar' => 'foo']); $this->assertSame('WHERE foo = ? AND bar = ?', $instance->buildWhere()); }