public function testToken() { $token = Former::token(); $matcher = '<input type="hidden" name="csrf_token">'; $this->assertEquals($matcher, $token); }