/**
  * @covers \SwaggerGen\Swagger\AbstractObject::words_shift
  */
 public function testWords_shift_whitespace()
 {
     $text = "    quite  a\nfew   \r  \n\r words \t";
     $this->assertSame('quite', \SwaggerGen\Swagger\AbstractObject::words_shift($text));
     $this->assertSame('a', \SwaggerGen\Swagger\AbstractObject::words_shift($text));
     $this->assertSame('few', \SwaggerGen\Swagger\AbstractObject::words_shift($text));
     $this->assertSame('words', \SwaggerGen\Swagger\AbstractObject::words_shift($text));
     $this->assertSame(false, \SwaggerGen\Swagger\AbstractObject::words_shift($text));
     $this->assertSame('', $text);
 }
 public function toArray()
 {
     return self::array_filter_null(array_merge(array('description' => $this->description), $this->Type->toArray(), parent::toArray()));
 }
 /**
  * @var string $definition
  */
 public function __construct(\SwaggerGen\Swagger\AbstractObject $parent, $definition)
 {
     parent::__construct($parent);
     $this->parseDefinition($definition);
 }