/**
  * @test
  * @expectedException \BuildException
  */
 public function throwsBuildExceptionWhenVulnerabilitiesFound()
 {
     $this->checker->expects($this->any())->method('getLastVulnerabilityCount')->will($this->returnValue(1));
     $this->checkerTask->setLockfile(__FILE__);
     $this->checkerTask->main();
 }