public function testParsedWarnings()
 {
     $warnings = $this->cssValidatorOutput->getWarnings();
     $this->assertEquals(2, count($warnings));
     foreach ($warnings as $warningIndex => $warning) {
         /* @var $error \webignition\CssValidatorOutput\Message\Warning */
         $this->assertInstanceOf('\\webignition\\CssValidatorOutput\\Message\\Warning', $warning);
         $this->assertEquals($this->expectedWarningValues[$warningIndex]['level'], $warning->getLevel());
         $this->assertEquals($this->expectedWarningValues[$warningIndex]['line'], $warning->getLineNumber());
         $this->assertEquals($this->expectedWarningValues[$warningIndex]['context'], $warning->getContext());
         $this->assertEquals($this->expectedWarningValues[$warningIndex]['message'], $warning->getMessage());
     }
 }
 public function testWarningsHaveNonBlankRefProperty()
 {
     foreach ($this->cssValidatorOutput->getWarnings() as $warning) {
         $this->assertTrue($warning->getRef() != '');
     }
 }