PHP Classes

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

Recommend this page to a friend!
  Classes of Michal Kowalik   TCPDF Warper   tests/org/majkel/tcpdfwarper/CellOpTest.php   Download  
File: tests/org/majkel/tcpdfwarper/CellOpTest.php
Role: Unit test script
Content type: text/plain
Description: tests
Class: TCPDF Warper
Create PDF documents using TCPDF fluent interface
Author: By
Last change: Update of tests/org/majkel/tcpdfwarper/CellOpTest.php
Date: 11 months ago
Size: 951 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 CellOpTest
 * @package org\majkel\tcpdfwarper
 * @coversDefaultClass \org\majkel\tcpdfwarper\CellOp
 */
class CellOpTest extends OpTestAbstract {

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

   
/**
     * @covers ::setWH
     */
   
public function testSetWH() {
       
$this->setWHTest();
    }

   
/**
     * @covers ::setSize
     */
   
public function testSetSize() {
       
$this->setSizeTest();
    }

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

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