setUnits() public method

public setUnits ( string $type )
$type string
Beispiel #1
0
 /**
  * @covers Location\Formatter\Coordinate\DMS::setUnits
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Invalid unit type
  */
 public function testSetUnitsInvalidType()
 {
     $this->formatter->setUnits('invalid');
 }