PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Classes of Michal Kowalik  >  TCPDF Warper  >  tests/org/majkel/tcpdfwarper/WriteOpTest.php  >  Download  
File: tests/org/majkel/tcpdfwarper/WriteOpTest.php
Role: Unit test script
Content type: text/plain
Description: test Write
Class: TCPDF Warper
Create PDF documents using TCPDF fluent interface
Author: By
Last change:
Date: 4 years 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 WriteOpTest
 * @package org\majkel\tcpdfwarper
 * @coversDefaultClass \org\majkel\tcpdfwarper\WriteOp
 */
class WriteOpTest 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\WriteOp';
    }

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