for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JeroenDesloovere\VCard\Property;
use PHPUnit\Framework\TestCase;
/**
* How to execute all tests: `vendor/bin/phpunit tests`
*/
final class PropertyTest extends TestCase
{
* @expectedException \JeroenDesloovere\VCard\Exception\PropertyException
* @expectedExceptionMessage The property you are trying to add is empty.
public function testEmptyName(): void
new Name();
}
public function testEmptyAddress(): void
new Address();
public function testEmptyEmail(): void
new Email();
public function testEmptyGender(): void
new Gender();