public function testModule()
 {
     /** @var \MOC\V\Component\Document\Component\Bridge\Bridge $MockBridge */
     $MockBridge = $this->getMockBuilder('MOC\\V\\Component\\Document\\Component\\Bridge\\Bridge')->getMock();
     $Vendor = new Vendor(new $MockBridge());
     $Module = new Document($Vendor);
     $this->assertInstanceOf('MOC\\V\\Component\\Document\\Component\\IVendorInterface', $Module->getVendorInterface());
     $this->assertInstanceOf('MOC\\V\\Component\\Document\\Component\\IVendorInterface', $Module->setBridgeInterface($MockBridge));
     $this->assertInstanceOf('MOC\\V\\Component\\Document\\Component\\IBridgeInterface', $Module->getBridgeInterface());
 }
 /**
  * @param string $Location
  *
  * @return IBridgeInterface
  */
 public static function getPdfCreator($Location)
 {
     $Document = new Document(new Vendor(new MPdf()));
     if (file_exists(new FileParameter($Location))) {
         $Document->getBridgeInterface()->loadFile(new FileParameter($Location));
     }
     return $Document->getBridgeInterface();
 }