for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SRF\Tests;
use SRF\ResourceFormatter;
/**
* @covers \SRF\ResourceFormatter
* @group semantic-result-formats
*
* @license GNU GPL v2+
* @since 3.0
* @author mwjames
*/
class ResourceFormatterTest extends \PHPUnit_Framework_TestCase {
public function testSession() {
$this->assertContains(
'smw-',
ResourceFormatter::session()
);
}
public function testPlaceholder() {
$this->assertInternalType(
'string',
ResourceFormatter::placeholder()