/** * @expectedException \Zend\ServiceManager\Exception\RuntimeException * @throws \Zend\ServiceManager\Exception\RuntimeException */ public function testPluginIsInvalid() { $this->sut->validatePlugin(new \stdClass()); }