public function testParameterWithArrayValueWhichHaveOnlyProtectedAdderAbortsBuild()
 {
     $parameters = ['protectedAdderField' => ['a', 'b', 'c']];
     $this->subjectUnderTest->setClassName('\\noFlash\\TorrentGhost\\Test\\Stub\\WorkingClassImplementingConfigurationInterfaceStub');
     $this->subjectUnderTest->setInstanceParameters($parameters);
     $this->setExpectedException('\\noFlash\\TorrentGhost\\Exception\\UnknownConfigurationParameterException', 'Failed to locate public "protectedAdderField" property or any of the following methods: setprotectedAdderField, setProtectedAdderField, addprotectedAdderField, addProtectedAdderField');
     $this->subjectUnderTest->build();
 }
 /**
  * Returns application configuration
  *
  * @return TorrentGhostConfiguration
  * @throws \LogicException
  */
 public function getApplicationConfiguration()
 {
     //We can assume "torrentGhost" index exists due to isValid() call in constructor
     $configuration = new ConfigurationFactory('\\noFlash\\TorrentGhost\\Configuration\\TorrentGhostConfiguration', $this->rawConfiguration['torrentGhost']);
     return $configuration->build();
 }