for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SimpleSAML\Module\monitor\Test;
use \SimpleSAML_Configuration as ApplicationConfiguration;
use \SimpleSAML\Module\monitor\TestCase as TestCase;
use \SimpleSAML\Module\monitor\TestData as TestData;
use \SimpleSAML\Module\monitor\State as State;
/**
* Tests for TestCase\Negotiate
*/
class TestNegotiateTest extends \PHPUnit_Framework_TestCase
{
public function testNegotiate()
$confTest = new TestCase\AuthSource\Negotiate(
new TestData([
'keytab' => 'example/test.keytab',
'autorization' => 'abc:123',
])
);
$testResult = $confTest->getTestResult();
$this->assertEquals(State::SKIPPED, $testResult->getState());
}