AddressTest.php 326 B

123456789101112131415
  1. <?php
  2. use mattvb91\TronTrx\Address;
  3. class AddressTest extends \PHPUnit\Framework\TestCase
  4. {
  5. /**
  6. * @covers \mattvb91\TronTrx\Address::__construct
  7. */
  8. public function testThatInvalidAddressThrowsException()
  9. {
  10. $this->expectException(InvalidArgumentException::class);
  11. new Address();
  12. }
  13. }