PHP Classes

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

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

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

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

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

   
/**
     * @covers ::setXY
     */
   
public function testSetXY() {
       
$this->setXYTest();
    }

   
/**
     * @covers ::setPos
     */
   
public function testSetPos() {
       
$this->setPosTest();
    }

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

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