/**
* @covers CommissioningBodyService::getCorrespondenceName()
*/
public function testgetCorrespondenceAddress_withstatic()
{
$cbs_name = 'Test Name';
$cbs_type_name = 'CBS Type Test Name';
$cbs_type = new CommissioningBodyServiceType();
$cbs_type->correspondence_name = $cbs_type_name;
$cbs = new CommissioningBodyService();
$cbs->name = $cbs_name;
$cbs->type = $cbs_type;
$this->assertEquals(array($cbs_name, $cbs_type_name), $cbs->getCorrespondenceName(), 'Correspondence Name should have type name appended when available in the CBS type');
}