for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AntonyThorpe\Knockout\Tests;
use SilverStripe\Dev\SapphireTest;
use AntonyThorpe\Knockout\KnockoutFormAction;
/**
* KnockoutFormActionTest
*/
class KnockoutFormActionTest extends SapphireTest
{
public function testKnockoutFormAction()
$action = KnockoutFormAction::create('doSave', 'Save')->setDisabledClass('astroid');
$this->assertEquals(
"astroid",
$action->getDisabledClass(),
"astroid"
);
}