Skip to content

Instantly share code, notes, and snippets.

@Mezzle
Last active May 31, 2016 09:57
Show Gist options
  • Save Mezzle/423198af5cc28fa1108a to your computer and use it in GitHub Desktop.
Save Mezzle/423198af5cc28fa1108a to your computer and use it in GitHub Desktop.
<?php
namespace ProtecTest\Employment;
use \ProtecInnovations\Recruiter;
use \PHPUnit_Framework_TestCase as TestCase;
class RecruiterTest extends TestCase
{
protected $object = null;
public function setUp()
{
$this->object = new Recruiter;
}
public function testIsHiring()
{
$this->assertTrue($this->object->isAtPHPNW());
$this->assertTrue($this->object->isWearingStupidTShirt());
$this->assertTrue($this->object->isHiring());
}
public function tearDown()
{
$this->object->getDrunk();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment