Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
metropolite
/
wp-content
/
plugins
/
mycryptocheckout
/
vendor
/
plainview
/
sdk
/
form2
/
tests
:
FieldsetTest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace plainview\sdk_mcc\form2\tests; class FieldsetTest extends TestCase { public function fs() { return $this->form()->fieldset( 'fieldsettest' ) ->label( 'Fieldset test' ); } public function test_legend() { $fs = $this->fs(); $this->assertStringContains( '<legend>Fieldset test</legend>', $fs ); } /** @brief Test legend with sprintf. @since 2018-02-07 12:35:36 **/ public function test_legend_sprintf() { $fs = $this->fs(); $fs->label( 'Hello %s', 'legend' ); $this->assertStringContains( '<legend>Hello legend</legend>', $fs ); } }