/**
  * Get a populated resource container for testing.
  *
  * @return ResourceContainer
  */
 protected function getResourceContainer()
 {
     $rc = new ResourceContainer();
     $rc->setEncoding('utf-8');
     $rc->setGenerator('fake-generator');
     return $rc;
 }
 /**
  * Test Generator set/get.
  *
  * @return void
  */
 public function testGenerator()
 {
     $container = new ResourceContainer();
     $container->setGenerator('fake');
     $this->assertEquals('fake', $container->getGenerator());
 }