getConnection(); $result = (new Query)->from('customer')->where(['[[status]]' => 2])->one($db); $this->assertEquals('user3', $result['name']); $result = (new Query)->from('customer')->where(['[[status]]' => 3])->one($db); $this->assertFalse($result); } }