Exemplo n.º 1
0
 /**
  * Test some missing stuff to get full coverage
  */
 public function testMissingProperties()
 {
     $data = array('IsComfortZoneUser' => true, 'OptIn' => true, 'UseInformationForThirdParty' => false, 'UserName' => 'UserName', 'PackStations' => array('Foo', 'Bar'));
     $customer = new Customer();
     $customer->setIsComfortZoneUser($data['IsComfortZoneUser']);
     $this->assertEquals($data['IsComfortZoneUser'], $customer->getIsComfortZoneUser());
     $customer->setOptIn($data['OptIn']);
     $this->assertEquals($data['OptIn'], $customer->getOptIn());
     $customer->setUseInformationForThirdParty($data['UseInformationForThirdParty']);
     $this->assertEquals($data['UseInformationForThirdParty'], $customer->getUseInformationForThirdParty());
     $customer->setUserName($data['UserName']);
     $this->assertEquals($data['UserName'], $customer->getUserName());
     $customer->setPackStations($data['PackStations']);
     $this->assertEquals($data['PackStations'], $customer->getPackStations());
 }