public function testThrowExceptionIfMoreThanOneRoleProviderIsSet() { $this->setExpectedException('ZfcRbac\\Exception\\RuntimeException'); $moduleOptions = new ModuleOptions(); $moduleOptions->setRoleProvider(['foo', 'bar']); }