php-deb-packager/tests/wdm/debian/control/StandardFileTest.php
2014-12-03 22:38:07 +01:00

32 lines
553 B
PHP

<?php
namespace wdm\debian\control;
class StandardFileTest extends \PHPUnit_Framework_TestCase
{
private $object;
public function setUp()
{
$this->object = new StandardFile();
}
public function testMinimumFile()
{
$conf = (string)$this->object;
$expected = <<<OEF
Version: 0.1
Section: web
Priority: optional
Architecture: all
Essential: no
Installed-Size: 1024
Maintainer: name [email]
Provides: your-company
Description: Your description
OEF;
$this->assertEquals($expected, $conf);
}
}