public function testSprintf() { $value = 'hallo'; $format = 'X%sX'; $this->assertEquals('XhalloX', rex_formatter::sprintf($value, $format)); }