/** * Test for string templating. * * @test * @covers LogReader_URL::str_template */ public function test_str_template() { $this->assertSame('http://example.com/?page=13&test=1', LogReader_URL::str_template('http://example.com/?page=%(page)s&test=1', array('page' => 13))); }