-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f9098c
commit aa8eccc
Showing
4 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,5 +46,4 @@ private static function getPairs(): array | |
|
||
return $pairs; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: alex | ||
* Date: 30.01.17 | ||
* Time: 09:49 | ||
*/ | ||
|
||
namespace Demv\Werte\Tests\Person\Beziehung; | ||
|
||
use Demv\Werte\Person\Beziehung\Beruflich\BeruflicheBeziehung; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
class BeruflicheBeziehungTest extends TestCase | ||
{ | ||
public function testIsFamiliaer() | ||
{ | ||
$beziehung = new BeruflicheBeziehung(1, 'test'); | ||
$this->assertFalse($beziehung->isFamiliaer()); | ||
} | ||
|
||
public function testIsBeruflich() | ||
{ | ||
$beziehung = new BeruflicheBeziehung(1, 'test'); | ||
$this->assertTrue($beziehung->isBeruflich()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: alex | ||
* Date: 30.01.17 | ||
* Time: 09:51 | ||
*/ | ||
|
||
namespace Demv\Werte\Tests\Person\Beziehung; | ||
|
||
use Demv\Werte\Person\Beziehung\Familiaer\FamiliaereBeziehung; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
class FamiliaereBeziehungTest extends TestCase | ||
{ | ||
public function testIsFamiliaer() | ||
{ | ||
$beziehung = new FamiliaereBeziehung(1, 'test'); | ||
$this->assertTrue($beziehung->isFamiliaer()); | ||
} | ||
|
||
public function testIsBeruflich() | ||
{ | ||
$beziehung = new FamiliaereBeziehung(1, 'test'); | ||
$this->assertFalse($beziehung->isBeruflich()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters