Beispiel #1
0
 public function testCreateDefaults()
 {
     $address = new Address();
     $this->assertSame(null, $address->getAttention());
     $this->assertSame(null, $address->getCompany());
     $this->assertSame(null, $address->getAddress1());
     $this->assertSame(null, $address->getAddress2());
     $this->assertSame(null, $address->getCity());
     $this->assertSame(null, $address->getState());
     $this->assertSame(null, $address->getZip5());
     $this->assertSame(null, $address->getZip4());
     $point = $address->getPoint();
     $this->assertEquals(0.0, $point->getLatitude(), '', FLOAT_DELTA);
     $this->assertEquals(0.0, $point->getLongitude(), '', FLOAT_DELTA);
 }