for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maps\Tests\Elements;
use DataValues\Geo\Values\LatLongValue;
use Maps\Elements\ImageOverlay;
/**
* @covers \Maps\Elements\ImageOverlay
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < [email protected] >
*/
class ImageOverlayTest extends \PHPUnit_Framework_TestCase {
public function testGetImage() {
$imageOverlay = new ImageOverlay(
new LatLongValue( 4, 2 ),
new LatLongValue( -4, -2 ),
'Foo.png'
);
$this->assertSame( 'Foo.png', $imageOverlay->getImage() );
}