<?php

class HelpersTest extends PHPUnit_Framework_TestCase {

	public function testIsFalse()
	{
		$this->assertTrue(is_false(false));
	}

	public function testIsNotFalse()
	{
		$this->assertFalse(is_false(null));
	}

	public function testIsTrue()
	{
		$this->assertTrue(is_true(true));
	}

	public function testIsNotTrue()
	{
		$this->assertFalse(is_true(null));
	}

	public function testLastKey()
	{
		$data = array('foo' => 'bar', 'baz' => 'foz');

		$this->assertEquals('baz', last_key($data));
	}

}
Add unit tests for helpers file
Add unit tests for helpers file

Signed-off-by: Dries Vints <9818b0f8e34f57ac0059d0bc440479771e319166@gmail.com>
