for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the WPFoundation library.
*
* Copyright (c) 2015-present LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\LIN3S\WPFoundation\Ajax;
use LIN3S\WordPressPhpSpecBridge\ObjectBehavior;
/**
* Spec of Ajax class.
* @author Beñat Espiña <[email protected]>
class AjaxSpec extends ObjectBehavior
{
function let()
$this->beAnInstanceOf('fixtures\LIN3S\WPFoundation\Ajax');
}
function it_extends_ajax()
$this->shouldHaveType('LIN3S\WPFoundation\Ajax\Ajax');
function it_implements_ajax_interface()
$this->shouldHaveType('LIN3S\WPFoundation\Ajax\AjaxInterface');