for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RemotelyLiving\PHPEnv\Tests\Unit;
use RemotelyLiving\PHPEnv\Environment;
use RemotelyLiving\PHPEnv\EnvironmentType;
class EnvironmentTest extends AbstractTestCase
{
public function testKnowsWhichEnvironmentItIs(): void
$this->assertTrue(
Environment::create(EnvironmentType::DEVELOPMENT())->is(EnvironmentType::DEVELOPMENT())
);
Environment::create(EnvironmentType::STAGE())->is(EnvironmentType::STAGE())
Environment::create(EnvironmentType::QA())->is(EnvironmentType::QA())
Environment::create(EnvironmentType::PRODUCTION())->is(EnvironmentType::PRODUCTION())
}