public function testGermanAddress()
{
$address = new Address();
$address = $address->withCountryCode('DE')->withLocality('Berlin')->withPostalCode('10553')->withAddressLine1('Huttenstr. 50')->withOrganization('BMW AG Niederkassung Berlin')->withGivenName('Dieter')->withFamilyName('Diefendorf');
$this->validator->validate($address, $this->constraint);
$this->assertNoViolation();
// Testing with a empty city should fail.
$address = $address->withLocality(null);
$this->validator->validate($address, $this->constraint);
$this->buildViolation($this->constraint->notBlankMessage)->atPath('[locality]')->setInvalidValue(null)->assertRaised();
}