for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aerophant\RamdaTest;
use function Aerophant\Ramda\not;
use PHPUnit\Framework\TestCase;
class NotTest extends TestCase
{
public function testNotTrue()
$value = true;
$actual = not()($value);
$this->assertFalse($actual);
}
public function testNotFalse()
$value = false;
$this->assertTrue($actual);
public function testNotNull()
$value = null;
public function testNotEmptyString()
$value = '';
public function testNotObject()
$value = new \stdClass();