PHP Classes

File: tests/org/majkel/tcpdfwarper/HtmlOpTest.php

Recommend this page to a friend!
  Classes of Michal Kowalik   TCPDF Warper   tests/org/majkel/tcpdfwarper/HtmlOpTest.php   Download  
File: tests/org/majkel/tcpdfwarper/HtmlOpTest.php
Role: Unit test script
Content type: text/plain
Description: test writeHTML
Class: TCPDF Warper
Create PDF documents using TCPDF fluent interface
Author: By
Last change: Update of tests/org/majkel/tcpdfwarper/HtmlOpTest.php
Date: 7 months ago
Size: 779 bytes
 

Contents

Class file image Download
<?php
/**
 * Created by PhpStorm.
 * Package: org\majkel\tcpdfwarper
 * User: Micha? (majkel) Kowalik <maf.michal@gmail.com>
 * Date: 12/28/2014
 * Time: 20:41
 */

namespace org\majkel\tcpdfwarper;

require_once
'OpTestAbstract.php';

/**
 * Class HtmlOpTest
 * @package org\majkel\tcpdfwarper
 * @coversDefaultClass \org\majkel\tcpdfwarper\HtmlOp
 */
class HtmlOpTest extends OpTestAbstract {

   
/**
     * @expectedException \org\majkel\tcpdfwarper\MissingArgException
     * @covers ::put
     */
   
public function testPutMissingFile() {
       
$obj = $this->getObject();
       
$obj->put();
    }

   
/**
     * @return string
     */
   
protected function getClass() {
        return
'\org\majkel\tcpdfwarper\HtmlOp';
    }

   
/**
     * @return string
     */
   
protected function getMethod() {
        return
'writeHTML';
    }
}