public function getBatchByEmails()
{
$contacts = [$this->createContact(), $this->createContact()];
$emails = array_reduce($contacts, function ($values, $contact) {
$values[] = $contact->properties->email->value;
return $values;
}, []);
$response = $this->contacts->getBatchByEmails($emails);
$this->assertEquals(200, $response->getStatusCode());
}