public function testCheckWithPropertyOutput()
 {
     /** @var \PHPUnit_Framework_MockObject_MockObject|PropertyOutput $output */
     $output = $this->getMockBuilder(PropertyOutput::class)->getMock();
     $output->method('getMessage')->willReturn("Foo\nBar\n");
     $this->command->method('run')->willReturn(1);
     $actual = (new CheckCommand($this->command, $this->input, $output))->check();
     self::assertInternalType('array', $actual->getData());
     self::assertContains('Foo', $actual->getData());
     self::assertContains('Bar', $actual->getData());
 }