/**
  * 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;
 }
예제 #2
0
파일: AssertTest.php 프로젝트: tebru/assert
 /**
  * @expectedException \LogicException
  * @expectedExceptionMessage My test message
  */
 public function testAssertSameMessage()
 {
     Tebru\assertSame(1, 2, 'My %s message', 'test');
 }