CodeExplorer fact example
$section->
toArray()['images'
] );
} public function testFact() { $fact =
(new Fact()) ->
name($name = 'Current version'
) ->
value($value = '5.3'
);
$section =
(new Section()) ->
fact($fact);
$this->
assertCount(1,
$section->
toArray()['facts'
]);
$this->
assertSame( [ ['name' =>
$name, 'value' =>
$value],
],
$section->
toArray()['facts'
] );
} public function testMarkdownWithTrue() {