public function testRunTaskWithoutCommit()
{
$tmp_dir = $this->_prepareApplicationDirectory();
$tasks = $this->getReleaseTasks();
$package = $this->getComponent($tmp_dir);
$tasks->run(array('CurrentSentinel'), $package);
$this->assertEquals('---------
v4.0.1RC1
---------
TEST', file_get_contents($tmp_dir . '/docs/CHANGES'));
$this->assertEquals('class Application {
public $version = \'4.0.1RC1\';
}
', file_get_contents($tmp_dir . '/lib/Application.php'));
}