/** * Constructor * * @param ClientInterface $client */ public function __construct(ClientInterface $client) { $version = (int) ClientInterface::VERSION; Tebru\assertSame(5, $version, 'Guzzle client must be at version 5, version %d found', $version); $this->client = $client; }
/** * @expectedException \LogicException * @expectedExceptionMessage My test message */ public function testAssertSameMessage() { Tebru\assertSame(1, 2, 'My %s message', 'test'); }