@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:34. |
| 7 | 7 | */ |
| 8 | -class UserTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class UserTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var User |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new User; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Entity\User::setLoginCount |
| 33 | 36 | * @todo Implement testSetLoginCount(). |
| 34 | 37 | */ |
| 35 | - public function testSetLoginCount() { |
|
| 38 | + public function testSetLoginCount() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Entity\User::getLoginCount |
| 44 | 48 | * @todo Implement testGetLoginCount(). |
| 45 | 49 | */ |
| 46 | - public function testGetLoginCount() { |
|
| 50 | + public function testGetLoginCount() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
| 54 | 59 | * @covers AppBundle\Entity\User::setFirstLogin |
| 55 | 60 | * @todo Implement testSetFirstLogin(). |
| 56 | 61 | */ |
| 57 | - public function testSetFirstLogin() { |
|
| 62 | + public function testSetFirstLogin() |
|
| 63 | + { |
|
| 58 | 64 | // Remove the following lines when you implement this test. |
| 59 | 65 | $this->markTestIncomplete( |
| 60 | 66 | 'This test has not been implemented yet.' |
@@ -65,7 +71,8 @@ discard block |
||
| 65 | 71 | * @covers AppBundle\Entity\User::getFirstLogin |
| 66 | 72 | * @todo Implement testGetFirstLogin(). |
| 67 | 73 | */ |
| 68 | - public function testGetFirstLogin() { |
|
| 74 | + public function testGetFirstLogin() |
|
| 75 | + { |
|
| 69 | 76 | // Remove the following lines when you implement this test. |
| 70 | 77 | $this->markTestIncomplete( |
| 71 | 78 | 'This test has not been implemented yet.' |
@@ -76,7 +83,8 @@ discard block |
||
| 76 | 83 | * @covers AppBundle\Entity\User::getEnabled |
| 77 | 84 | * @todo Implement testGetEnabled(). |
| 78 | 85 | */ |
| 79 | - public function testGetEnabled() { |
|
| 86 | + public function testGetEnabled() |
|
| 87 | + { |
|
| 80 | 88 | // Remove the following lines when you implement this test. |
| 81 | 89 | $this->markTestIncomplete( |
| 82 | 90 | 'This test has not been implemented yet.' |
@@ -87,7 +95,8 @@ discard block |
||
| 87 | 95 | * @covers AppBundle\Entity\User::getLocked |
| 88 | 96 | * @todo Implement testGetLocked(). |
| 89 | 97 | */ |
| 90 | - public function testGetLocked() { |
|
| 98 | + public function testGetLocked() |
|
| 99 | + { |
|
| 91 | 100 | // Remove the following lines when you implement this test. |
| 92 | 101 | $this->markTestIncomplete( |
| 93 | 102 | 'This test has not been implemented yet.' |
@@ -98,7 +107,8 @@ discard block |
||
| 98 | 107 | * @covers AppBundle\Entity\User::getExpired |
| 99 | 108 | * @todo Implement testGetExpired(). |
| 100 | 109 | */ |
| 101 | - public function testGetExpired() { |
|
| 110 | + public function testGetExpired() |
|
| 111 | + { |
|
| 102 | 112 | // Remove the following lines when you implement this test. |
| 103 | 113 | $this->markTestIncomplete( |
| 104 | 114 | 'This test has not been implemented yet.' |
@@ -109,7 +119,8 @@ discard block |
||
| 109 | 119 | * @covers AppBundle\Entity\User::getExpiresAt |
| 110 | 120 | * @todo Implement testGetExpiresAt(). |
| 111 | 121 | */ |
| 112 | - public function testGetExpiresAt() { |
|
| 122 | + public function testGetExpiresAt() |
|
| 123 | + { |
|
| 113 | 124 | // Remove the following lines when you implement this test. |
| 114 | 125 | $this->markTestIncomplete( |
| 115 | 126 | 'This test has not been implemented yet.' |
@@ -120,7 +131,8 @@ discard block |
||
| 120 | 131 | * @covers AppBundle\Entity\User::getCredentialsExpired |
| 121 | 132 | * @todo Implement testGetCredentialsExpired(). |
| 122 | 133 | */ |
| 123 | - public function testGetCredentialsExpired() { |
|
| 134 | + public function testGetCredentialsExpired() |
|
| 135 | + { |
|
| 124 | 136 | // Remove the following lines when you implement this test. |
| 125 | 137 | $this->markTestIncomplete( |
| 126 | 138 | 'This test has not been implemented yet.' |
@@ -131,7 +143,8 @@ discard block |
||
| 131 | 143 | * @covers AppBundle\Entity\User::getCredentialsExpireAt |
| 132 | 144 | * @todo Implement testGetCredentialsExpireAt(). |
| 133 | 145 | */ |
| 134 | - public function testGetCredentialsExpireAt() { |
|
| 146 | + public function testGetCredentialsExpireAt() |
|
| 147 | + { |
|
| 135 | 148 | // Remove the following lines when you implement this test. |
| 136 | 149 | $this->markTestIncomplete( |
| 137 | 150 | 'This test has not been implemented yet.' |
@@ -142,7 +155,8 @@ discard block |
||
| 142 | 155 | * @covers AppBundle\Entity\User::setSalt |
| 143 | 156 | * @todo Implement testSetSalt(). |
| 144 | 157 | */ |
| 145 | - public function testSetSalt() { |
|
| 158 | + public function testSetSalt() |
|
| 159 | + { |
|
| 146 | 160 | // Remove the following lines when you implement this test. |
| 147 | 161 | $this->markTestIncomplete( |
| 148 | 162 | 'This test has not been implemented yet.' |
@@ -153,7 +167,8 @@ discard block |
||
| 153 | 167 | * @covers AppBundle\Entity\User::setPassword |
| 154 | 168 | * @todo Implement testSetPassword(). |
| 155 | 169 | */ |
| 156 | - public function testSetPassword() { |
|
| 170 | + public function testSetPassword() |
|
| 171 | + { |
|
| 157 | 172 | // Remove the following lines when you implement this test. |
| 158 | 173 | $this->markTestIncomplete( |
| 159 | 174 | 'This test has not been implemented yet.' |
@@ -164,7 +179,8 @@ discard block |
||
| 164 | 179 | * @covers AppBundle\Entity\User::setGroups |
| 165 | 180 | * @todo Implement testSetGroups(). |
| 166 | 181 | */ |
| 167 | - public function testSetGroups() { |
|
| 182 | + public function testSetGroups() |
|
| 183 | + { |
|
| 168 | 184 | // Remove the following lines when you implement this test. |
| 169 | 185 | $this->markTestIncomplete( |
| 170 | 186 | 'This test has not been implemented yet.' |
@@ -175,7 +191,8 @@ discard block |
||
| 175 | 191 | * @covers AppBundle\Entity\User::setRoles |
| 176 | 192 | * @todo Implement testSetRoles(). |
| 177 | 193 | */ |
| 178 | - public function testSetRoles() { |
|
| 194 | + public function testSetRoles() |
|
| 195 | + { |
|
| 179 | 196 | // Remove the following lines when you implement this test. |
| 180 | 197 | $this->markTestIncomplete( |
| 181 | 198 | 'This test has not been implemented yet.' |
@@ -186,7 +203,8 @@ discard block |
||
| 186 | 203 | * @covers AppBundle\Entity\User::hasGroup |
| 187 | 204 | * @todo Implement testHasGroup(). |
| 188 | 205 | */ |
| 189 | - public function testHasGroup() { |
|
| 206 | + public function testHasGroup() |
|
| 207 | + { |
|
| 190 | 208 | // Remove the following lines when you implement this test. |
| 191 | 209 | $this->markTestIncomplete( |
| 192 | 210 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:38. |
| 7 | 7 | */ |
| 8 | -class GroupTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class GroupTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var Group |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new Group; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Entity\Group::__toString |
| 33 | 36 | * @todo Implement test__toString(). |
| 34 | 37 | */ |
| 35 | - public function test__toString() { |
|
| 38 | + public function test__toString() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Entity\Group::getUsers |
| 44 | 48 | * @todo Implement testGetUsers(). |
| 45 | 49 | */ |
| 46 | - public function testGetUsers() { |
|
| 50 | + public function testGetUsers() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:37. |
| 7 | 7 | */ |
| 8 | -class ArticleRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class ArticleRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var ArticleRepository |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new ArticleRepository; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Entity\ArticleRepository::getArticles |
| 33 | 36 | * @todo Implement testGetArticles(). |
| 34 | 37 | */ |
| 35 | - public function testGetArticles() { |
|
| 38 | + public function testGetArticles() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Entity\ArticleRepository::getArticleFromSupplier |
| 44 | 48 | * @todo Implement testGetArticleFromSupplier(). |
| 45 | 49 | */ |
| 46 | - public function testGetArticleFromSupplier() { |
|
| 50 | + public function testGetArticleFromSupplier() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:28. |
| 7 | 7 | */ |
| 8 | -class UnitStorageTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class UnitStorageTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var UnitStorage |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new UnitStorage; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Entity\UnitStorage::getId |
| 33 | 36 | * @todo Implement testGetId(). |
| 34 | 37 | */ |
| 35 | - public function testGetId() { |
|
| 38 | + public function testGetId() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Entity\UnitStorage::setName |
| 44 | 48 | * @todo Implement testSetName(). |
| 45 | 49 | */ |
| 46 | - public function testSetName() { |
|
| 50 | + public function testSetName() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -54,7 +59,8 @@ discard block |
||
| 54 | 59 | * @covers AppBundle\Entity\UnitStorage::getName |
| 55 | 60 | * @todo Implement testGetName(). |
| 56 | 61 | */ |
| 57 | - public function testGetName() { |
|
| 62 | + public function testGetName() |
|
| 63 | + { |
|
| 58 | 64 | // Remove the following lines when you implement this test. |
| 59 | 65 | $this->markTestIncomplete( |
| 60 | 66 | 'This test has not been implemented yet.' |
@@ -65,7 +71,8 @@ discard block |
||
| 65 | 71 | * @covers AppBundle\Entity\UnitStorage::setAbbr |
| 66 | 72 | * @todo Implement testSetAbbr(). |
| 67 | 73 | */ |
| 68 | - public function testSetAbbr() { |
|
| 74 | + public function testSetAbbr() |
|
| 75 | + { |
|
| 69 | 76 | // Remove the following lines when you implement this test. |
| 70 | 77 | $this->markTestIncomplete( |
| 71 | 78 | 'This test has not been implemented yet.' |
@@ -76,7 +83,8 @@ discard block |
||
| 76 | 83 | * @covers AppBundle\Entity\UnitStorage::getAbbr |
| 77 | 84 | * @todo Implement testGetAbbr(). |
| 78 | 85 | */ |
| 79 | - public function testGetAbbr() { |
|
| 86 | + public function testGetAbbr() |
|
| 87 | + { |
|
| 80 | 88 | // Remove the following lines when you implement this test. |
| 81 | 89 | $this->markTestIncomplete( |
| 82 | 90 | 'This test has not been implemented yet.' |
@@ -87,7 +95,8 @@ discard block |
||
| 87 | 95 | * @covers AppBundle\Entity\UnitStorage::__toString |
| 88 | 96 | * @todo Implement test__toString(). |
| 89 | 97 | */ |
| 90 | - public function test__toString() { |
|
| 98 | + public function test__toString() |
|
| 99 | + { |
|
| 91 | 100 | // Remove the following lines when you implement this test. |
| 92 | 101 | $this->markTestIncomplete( |
| 93 | 102 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:28. |
| 7 | 7 | */ |
| 8 | -class SettingsRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class SettingsRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var SettingsRepository |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new SettingsRepository; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:25. |
| 7 | 7 | */ |
| 8 | -class CompanyTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class CompanyTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var Company |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new Company; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -32,7 +35,8 @@ discard block |
||
| 32 | 35 | * @covers AppBundle\Entity\Company::setStatus |
| 33 | 36 | * @todo Implement testSetStatus(). |
| 34 | 37 | */ |
| 35 | - public function testSetStatus() { |
|
| 38 | + public function testSetStatus() |
|
| 39 | + { |
|
| 36 | 40 | // Remove the following lines when you implement this test. |
| 37 | 41 | $this->markTestIncomplete( |
| 38 | 42 | 'This test has not been implemented yet.' |
@@ -43,7 +47,8 @@ discard block |
||
| 43 | 47 | * @covers AppBundle\Entity\Company::getStatus |
| 44 | 48 | * @todo Implement testGetStatus(). |
| 45 | 49 | */ |
| 46 | - public function testGetStatus() { |
|
| 50 | + public function testGetStatus() |
|
| 51 | + { |
|
| 47 | 52 | // Remove the following lines when you implement this test. |
| 48 | 53 | $this->markTestIncomplete( |
| 49 | 54 | 'This test has not been implemented yet.' |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:35. |
| 7 | 7 | */ |
| 8 | -class UnitStorageRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class UnitStorageRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var UnitStorageRepository |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new UnitStorageRepository; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:27. |
| 7 | 7 | */ |
| 8 | -class CompanyRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class CompanyRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var CompanyRepository |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new CompanyRepository; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |
@@ -5,7 +5,8 @@ discard block |
||
| 5 | 5 | /** |
| 6 | 6 | * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:25. |
| 7 | 7 | */ |
| 8 | -class FamilyLogRepositoryTest extends \PHPUnit_Framework_TestCase { |
|
| 8 | +class FamilyLogRepositoryTest extends \PHPUnit_Framework_TestCase |
|
| 9 | +{ |
|
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * @var FamilyLogRepository |
@@ -16,7 +17,8 @@ discard block |
||
| 16 | 17 | * Sets up the fixture, for example, opens a network connection. |
| 17 | 18 | * This method is called before a test is executed. |
| 18 | 19 | */ |
| 19 | - protected function setUp() { |
|
| 20 | + protected function setUp() |
|
| 21 | + { |
|
| 20 | 22 | $this->object = new FamilyLogRepository; |
| 21 | 23 | } |
| 22 | 24 | |
@@ -24,7 +26,8 @@ discard block |
||
| 24 | 26 | * Tears down the fixture, for example, closes a network connection. |
| 25 | 27 | * This method is called after a test is executed. |
| 26 | 28 | */ |
| 27 | - protected function tearDown() { |
|
| 29 | + protected function tearDown() |
|
| 30 | + { |
|
| 28 | 31 | |
| 29 | 32 | } |
| 30 | 33 | |