/**
  * @expectedException \RunOpenCode\AssetsInjection\Exception\LogicException
  */
 public function testGetNonExistingDefinition()
 {
     $collection = new LibraryCollection();
     $collection->addDefinitions([new LibraryDefinition('first', [new FileResource('/some/path/to/file')]), new LibraryDefinition('second', [new FileResource('/path/to/another/file')])]);
     $collection->getDefinition('some-none-existing-definition');
 }