public function testIsNotEndpoint() { // arrange $env = 'api-test'; // act $result = is_endpoint('frontend', $env); // assert $this->assertEquals(false, $result); }
function is_frontend($env = false) { return is_endpoint('frontend', $env); }