/**
  * @throws Exception\Uncloneable
  */
 public function __clone()
 {
     throw Exception\Uncloneable::fromClass(__CLASS__);
 }
 public function testFromNonObject()
 {
     $exception = Uncloneable::fromClass('foo');
     $this->assertInstanceOf(Uncloneable::class, $exception);
     $this->assertSame('Trying to clone an uncloneable object of class foo', $exception->getMessage());
 }