public function testSecureRouteNotMatchIfNoHttps() { Apricot::reset(); Apricot::setEnvironment('test'); Apricot::when('/secured', Apricot::with(array('_secure' => true), function () { echo 'Foo'; })); Apricot::notFound(function () { echo 'Not Found'; }); $this->assertTrue('Not Found' === Apricot::browse('/secured')); }