/** * @covers ::spf */ public function test_spf() { // When $e = Exception::spf('Something %s created %d errors.', 'awful', 666); // Then $this->assertSame('Something awful created 666 errors.', $e->getMessage()); }