Skip to content

Commit

Permalink
New Supplier Class provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Nov 18, 2023
1 parent dae8450 commit db2cf35
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ composer.lock
/debian/php-spojenet-abraflexi-doc.substvars
/debian/php-spojenet-abraflexi.debhelper.log
/debian/php-spojenet-abraflexi.substvars
/test/.phpunit.result.cache
30 changes: 30 additions & 0 deletions src/AbraFlexi/Dodavatel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

declare(strict_types=1);

/**
* Shopping prices
*
* @author Vítězslav Dvořák <info@vitexsoftware.cz>
* @copyright 2023 Vitex Software
*/

namespace AbraFlexi;

/**
* Description of Dodavatel
*
* @author vitex
*/
class Dodavatel extends RW
{
use stitky;
use firma;

/**
* The agenda used by the object.
*
* @var string
*/
public $evidence = 'dodavatel';
}
82 changes: 82 additions & 0 deletions test/AbraFlexi/DodavatelTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?php

namespace Test\AbraFlexi;

use AbraFlexi\Dodavatel;

/**
* Generated by PHPUnit_SkeletonGenerator on 2023-11-18 at 18:14:35.
*/
class DodavatelTest extends \PHPUnit\Framework\TestCase {

/**
* @var Dodavatel
*/
protected $object;

/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp(): void {
$this->object = new Dodavatel();
}

/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown(): void {

}

/**
* @covers AbraFlexi\Dodavatel::getLabels
* @todo Implement testgetLabels().
*/
public function testgetLabels() {
$this->assertEquals('', $this->object->getLabels());
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');
}

/**
* @covers AbraFlexi\Dodavatel::setLabel
* @todo Implement testsetLabel().
*/
public function testsetLabel() {
$this->assertEquals('', $this->object->setLabel());
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');
}

/**
* @covers AbraFlexi\Dodavatel::unsetLabel
* @todo Implement testunsetLabel().
*/
public function testunsetLabel() {
$this->assertEquals('', $this->object->unsetLabel());
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');
}

/**
* @covers AbraFlexi\Dodavatel::unsetLabels
* @todo Implement testunsetLabels().
*/
public function testunsetLabels() {
$this->assertEquals('', $this->object->unsetLabels());
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');
}

/**
* @covers AbraFlexi\Dodavatel::getFirmaObject
* @todo Implement testgetFirmaObject().
*/
public function testgetFirmaObject() {
$this->assertEquals('', $this->object->getFirmaObject());
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');
}
}

0 comments on commit db2cf35

Please sign in to comment.