public function testClearCustomAttribute() { $form = new FormOpen(); $expected = '<form method="POST" action="">'; $result = $form->attribute('data-test', 'sample')->clear('data-test')->render(); $this->assertEquals($expected, $result); }