public function testFormatsValue($value, $expected) { $this->assertEquals($expected, $this->implementation->call('formatValueForApi', [$value])); }