summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/app/AuthTest.php2
-rw-r--r--tests/app/Census/CensusColumnAgeFemale5YearsTest.php134
-rw-r--r--tests/app/Census/CensusColumnAgeFemaleTest.php100
-rw-r--r--tests/app/Census/CensusColumnAgeMale5YearsTest.php134
-rw-r--r--tests/app/Census/CensusColumnAgeMaleTest.php100
-rw-r--r--tests/app/Census/CensusColumnBornForeignPartsTest.php355
-rw-r--r--tests/app/Census/CensusColumnBornSameCountyTest.php49
-rw-r--r--tests/app/Census/CensusColumnFullNameTest.php49
-rw-r--r--tests/app/Census/CensusColumnOccupationTest.php68
-rw-r--r--tests/app/Census/CensusOfDenmark1787Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1801Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1834Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1840Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1845Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1850Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1855Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1860Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1870Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1880Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1890Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1901Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1906Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1911Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1916Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1921Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1925Test.php33
-rw-r--r--tests/app/Census/CensusOfDenmark1930Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1841Test.php49
-rw-r--r--tests/app/Census/CensusOfEngland1851Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1861Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1871Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1881Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1891Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1901Test.php33
-rw-r--r--tests/app/Census/CensusOfEngland1911Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1836Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1841Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1846Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1851Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1856Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1861Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1866Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1872Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1876Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1881Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1886Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1891Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1896Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1901Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1906Test.php33
-rw-r--r--tests/app/Census/CensusOfFrance1911Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1841Test.php49
-rw-r--r--tests/app/Census/CensusOfScotland1851Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1861Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1871Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1881Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1891Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1901Test.php33
-rw-r--r--tests/app/Census/CensusOfScotland1911Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1790Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1800Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1810Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1820Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1830Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1840Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1850Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1860Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1870Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1880Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1890Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1900Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1910Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1920Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1930Test.php33
-rw-r--r--tests/app/Census/CensusOfUnitedStates1940Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1841Test.php49
-rw-r--r--tests/app/Census/CensusOfWales1851Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1861Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1871Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1881Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1891Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1901Test.php33
-rw-r--r--tests/app/Census/CensusOfWales1911Test.php33
-rw-r--r--tests/app/Controller/AdvancedSearchControllerTest.php2
-rw-r--r--tests/app/Controller/AjaxControllerTest.php2
-rw-r--r--tests/app/Controller/AncestryControllerTest.php2
-rw-r--r--tests/app/Controller/BaseControllerTest.php2
-rw-r--r--tests/app/Controller/BranchesControllerTest.php2
-rw-r--r--tests/app/Controller/ChartControllerTest.php2
-rw-r--r--tests/app/Controller/CompactControllerTest.php2
-rw-r--r--tests/app/Controller/DescendancyControllerTest.php2
-rw-r--r--tests/app/Controller/FamilyControllerTest.php2
-rw-r--r--tests/app/Controller/FamilybookControllerTest.php2
-rw-r--r--tests/app/Controller/FanchartControllerTest.php2
-rw-r--r--tests/app/Controller/GedcomRecordControllerTest.php2
-rw-r--r--tests/app/Controller/HourglassControllerTest.php2
-rw-r--r--tests/app/Controller/IndividualControllerTest.php2
-rw-r--r--tests/app/Controller/LifespanControllerTest.php2
-rw-r--r--tests/app/Controller/MediaControllerTest.php2
-rw-r--r--tests/app/Controller/NoteControllerTest.php2
-rw-r--r--tests/app/Controller/PageControllerTest.php2
-rw-r--r--tests/app/Controller/PedigreeControllerTest.php2
-rw-r--r--tests/app/Controller/RepositoryControllerTest.php2
-rw-r--r--tests/app/Controller/SearchControllerTest.php2
-rw-r--r--tests/app/Controller/SimpleControllerTest.php2
-rw-r--r--tests/app/Controller/SourceControllerTest.php2
-rw-r--r--tests/app/Controller/TimelineControllerTest.php2
-rw-r--r--tests/app/DatabaseTest.php2
-rw-r--r--tests/app/Date/CalendarDateTest.php2
-rw-r--r--tests/app/Date/FrenchDateTest.php2
-rw-r--r--tests/app/Date/GregorianDateTest.php2
-rw-r--r--tests/app/Date/HijriDateTest.php2
-rw-r--r--tests/app/Date/JalaliDateTest.php2
-rw-r--r--tests/app/Date/JewishDateTest.php2
-rw-r--r--tests/app/Date/JulianDateTest.php2
-rw-r--r--tests/app/Date/RomanDateTest.php2
-rw-r--r--tests/app/DateTest.php2
-rw-r--r--tests/app/FactTest.php2
-rw-r--r--tests/app/FamilyTest.php2
-rw-r--r--tests/app/FileTest.php2
-rw-r--r--tests/app/FilterTest.php2
-rw-r--r--tests/app/FlashMessagesTest.php2
-rw-r--r--tests/app/Functions/FunctionsChartsTest.php2
-rw-r--r--tests/app/Functions/FunctionsDateTest.php2
-rw-r--r--tests/app/Functions/FunctionsDbTest.php2
-rw-r--r--tests/app/Functions/FunctionsEditTest.php2
-rw-r--r--tests/app/Functions/FunctionsExportTest.php2
-rw-r--r--tests/app/Functions/FunctionsImportTest.php2
-rw-r--r--tests/app/Functions/FunctionsMediaTest.php2
-rw-r--r--tests/app/Functions/FunctionsPrintFactsTest.php2
-rw-r--r--tests/app/Functions/FunctionsPrintListsTest.php2
-rw-r--r--tests/app/Functions/FunctionsPrintTest.php2
-rw-r--r--tests/app/Functions/FunctionsRtlTest.php2
-rw-r--r--tests/app/Functions/FunctionsTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeAdopTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeNameTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodePediTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeQuayTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeRelaTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeStatTest.php2
-rw-r--r--tests/app/Gedcom/GedcomCodeTempTest.php2
-rw-r--r--tests/app/GedcomRecordTest.php2
-rw-r--r--tests/app/GedcomTagTest.php2
-rw-r--r--tests/app/I18NTest.php2
-rw-r--r--tests/app/IndividualTest.php2
-rw-r--r--tests/app/LogTest.php2
-rw-r--r--tests/app/MailTest.php2
-rw-r--r--tests/app/MediaTest.php2
-rw-r--r--tests/app/MenuTest.php2
-rw-r--r--tests/app/Module/AhnentafelReportModuleTest.php2
-rw-r--r--tests/app/Module/AlbumModuleTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php2
-rw-r--r--tests/app/Module/BatchUpdateModuleTest.php2
-rw-r--r--tests/app/Module/BirthDeathMarriageReportModuleTest.php2
-rw-r--r--tests/app/Module/BirthReportModuleTest.php2
-rw-r--r--tests/app/Module/CemeteryReportModuleTest.php2
-rw-r--r--tests/app/Module/CensusAssistantModuleTest.php2
-rw-r--r--tests/app/Module/ChangeReportModuleTest.php2
-rw-r--r--tests/app/Module/ChartsBlockModuleTest.php2
-rw-r--r--tests/app/Module/CkeditorModuleTest.php2
-rw-r--r--tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php2
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php2
-rw-r--r--tests/app/Module/DeathReportModuleTest.php2
-rw-r--r--tests/app/Module/DescendancyModuleTest.php2
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php2
-rw-r--r--tests/app/Module/ExtraInformationModuleTest.php2
-rw-r--r--tests/app/Module/FactSourcesReportModuleTest.php2
-rw-r--r--tests/app/Module/FamiliesSidebarModuleTest.php2
-rw-r--r--tests/app/Module/FamilyGroupReportModuleTest.php2
-rw-r--r--tests/app/Module/FamilyNavigatorModuleTest.php2
-rw-r--r--tests/app/Module/FamilyTreeFavoritesModuleTest.php2
-rw-r--r--tests/app/Module/FamilyTreeNewsModuleTest.php2
-rw-r--r--tests/app/Module/FamilyTreeStatisticsModuleTest.php2
-rw-r--r--tests/app/Module/FrequentlyAskedQuestionsModuleTest.php2
-rw-r--r--tests/app/Module/GoogleMapsModuleTest.php2
-rw-r--r--tests/app/Module/HtmlBlockModuleTest.php2
-rw-r--r--tests/app/Module/IndividualFactsTabModuleTest.php2
-rw-r--r--tests/app/Module/IndividualFamiliesReportModuleTest.php2
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php2
-rw-r--r--tests/app/Module/IndividualSidebarModuleTest.php2
-rw-r--r--tests/app/Module/InteractiveTree/TreeViewTest.php2
-rw-r--r--tests/app/Module/InteractiveTreeModuleTest.php2
-rw-r--r--tests/app/Module/LoggedInUsersModuleTest.php2
-rw-r--r--tests/app/Module/MarriageReportModuleTest.php2
-rw-r--r--tests/app/Module/MediaTabModuleTest.php2
-rw-r--r--tests/app/Module/MissingFactsReportModuleTest.php2
-rw-r--r--tests/app/Module/ModuleBlockInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleChartInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleConfigInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleMenuInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleReportInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleSidebarInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleTabInterfaceTest.php2
-rw-r--r--tests/app/Module/ModuleThemeInterfaceTest.php2
-rw-r--r--tests/app/Module/NotesTabModuleTest.php2
-rw-r--r--tests/app/Module/OccupationReportModuleTest.php2
-rw-r--r--tests/app/Module/OnThisDayModuleTest.php2
-rw-r--r--tests/app/Module/PageMenuModuleTest.php2
-rw-r--r--tests/app/Module/PedigreeReportModuleTest.php2
-rw-r--r--tests/app/Module/RecentChangesModuleTest.php2
-rw-r--r--tests/app/Module/RelatedIndividualsReportModuleTest.php2
-rw-r--r--tests/app/Module/RelativesTabModuleTest.php2
-rw-r--r--tests/app/Module/ResearchTaskModuleTest.php2
-rw-r--r--tests/app/Module/ReviewChangesModuleTest.php2
-rw-r--r--tests/app/Module/SiteMapModuleTest.php2
-rw-r--r--tests/app/Module/SlideShowModuleTest.php2
-rw-r--r--tests/app/Module/SourcesTabModuleTest.php2
-rw-r--r--tests/app/Module/StoriesModuleTest.php2
-rw-r--r--tests/app/Module/ThemeSelectModuleTest.php2
-rw-r--r--tests/app/Module/TopGivenNamesModuleTest.php2
-rw-r--r--tests/app/Module/TopPageViewsModuleTest.php2
-rw-r--r--tests/app/Module/TopSurnamesModuleTest.php2
-rw-r--r--tests/app/Module/UpcomingAnniversariesModuleTest.php2
-rw-r--r--tests/app/Module/UserFavoritesModuleTest.php2
-rw-r--r--tests/app/Module/UserJournalModuleTest.php2
-rw-r--r--tests/app/Module/UserMessagesModuleTest.php2
-rw-r--r--tests/app/Module/UserWelcomeModuleTest.php2
-rw-r--r--tests/app/Module/WelcomeBlockModuleTest.php2
-rw-r--r--tests/app/Module/YahrzeitModuleTest.php2
-rw-r--r--tests/app/ModuleTest.php2
-rw-r--r--tests/app/NoteTest.php2
-rw-r--r--tests/app/PlaceTest.php2
-rw-r--r--tests/app/Query/QueryMediaTest.php2
-rw-r--r--tests/app/Query/QueryNameTest.php2
-rw-r--r--tests/app/Report/ReportBaseTest.php2
-rw-r--r--tests/app/Report/ReportHTMLTest.php2
-rw-r--r--tests/app/Report/ReportPDFTest.php2
-rw-r--r--tests/app/RepositoryTest.php2
-rw-r--r--tests/app/SiteTest.php2
-rw-r--r--tests/app/SoundexTest.php2
-rw-r--r--tests/app/SourceTest.php2
-rw-r--r--tests/app/StatementTest.php2
-rw-r--r--tests/app/StatsTest.php2
-rw-r--r--tests/app/SurnameTradition/DefaultSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/PaternalSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/PolishSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTradition/SpanishSurnameTraditionTest.php2
-rw-r--r--tests/app/SurnameTraditionTest.php2
-rw-r--r--tests/app/TreeTest.php2
-rw-r--r--tests/app/UserTest.php2
250 files changed, 3647 insertions, 168 deletions
diff --git a/tests/app/AuthTest.php b/tests/app/AuthTest.php
index 090d7bf04b..9e7ee42aef 100644
--- a/tests/app/AuthTest.php
+++ b/tests/app/AuthTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Auth
*/
-class AuthTest extends PHPUnit_Framework_TestCase {
+class AuthTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Census/CensusColumnAgeFemale5YearsTest.php b/tests/app/Census/CensusColumnAgeFemale5YearsTest.php
new file mode 100644
index 0000000000..534e390a60
--- /dev/null
+++ b/tests/app/Census/CensusColumnAgeFemale5YearsTest.php
@@ -0,0 +1,134 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnAgeFemale5Years
+ */
+class CensusColumnAgeFemale5YearsTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testMale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testFemale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1830');
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('30', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testUnknownSex() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('U');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1830');
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('30', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanOneYear() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1800');
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('0', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanFifteenYears() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1814');
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('14', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testRoundedDownToFiveYears() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1844');
+
+ $column = new CensusColumnAgeFemale5Years($census);
+
+ $this->assertSame('40', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnAgeFemaleTest.php b/tests/app/Census/CensusColumnAgeFemaleTest.php
new file mode 100644
index 0000000000..14c28230cf
--- /dev/null
+++ b/tests/app/Census/CensusColumnAgeFemaleTest.php
@@ -0,0 +1,100 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnAgeFemale
+ */
+class CensusColumnAgeFemaleTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testMale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnAgeFemale($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testFemale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1832');
+
+ $column = new CensusColumnAgeFemale($census);
+
+ $this->assertSame('32', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testUnknownSex() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('U');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1832');
+
+ $column = new CensusColumnAgeFemale($census);
+
+ $this->assertSame('32', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeFemale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanOneYear() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1800');
+
+ $column = new CensusColumnAgeFemale($census);
+
+ $this->assertSame('0', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnAgeMale5YearsTest.php b/tests/app/Census/CensusColumnAgeMale5YearsTest.php
new file mode 100644
index 0000000000..b0115e409e
--- /dev/null
+++ b/tests/app/Census/CensusColumnAgeMale5YearsTest.php
@@ -0,0 +1,134 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnAgeMale5Years5Years
+ */
+class CensusColumnAgeMale5YearsTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testMale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1830');
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('30', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testFemale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testUnknownSex() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('U');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1830');
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('30', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanOneYear() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1800');
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('0', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanFifteenYears() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1814');
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('14', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testRoundedDownToFiveYears() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1844');
+
+ $column = new CensusColumnAgeMale5Years($census);
+
+ $this->assertSame('40', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnAgeMaleTest.php b/tests/app/Census/CensusColumnAgeMaleTest.php
new file mode 100644
index 0000000000..bd3f275437
--- /dev/null
+++ b/tests/app/Census/CensusColumnAgeMaleTest.php
@@ -0,0 +1,100 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnAgeMale
+ */
+class CensusColumnAgeMaleTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testMale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1832');
+
+ $column = new CensusColumnAgeMale($census);
+
+ $this->assertSame('32', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testFemale() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('F');
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnAgeMale($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testUnknownSex() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('U');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1832');
+
+ $column = new CensusColumnAgeMale($census);
+
+ $this->assertSame('32', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnAgeMale
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testLessThanOneYear() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getSex')->andReturn('M');
+ $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('01 JAN 1800'));
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusDate')->andReturn('30 JUN 1800');
+
+ $column = new CensusColumnAgeMale($census);
+
+ $this->assertSame('0', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnBornForeignPartsTest.php b/tests/app/Census/CensusColumnBornForeignPartsTest.php
new file mode 100644
index 0000000000..4bc020c0ae
--- /dev/null
+++ b/tests/app/Census/CensusColumnBornForeignPartsTest.php
@@ -0,0 +1,355 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Fact;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnBornForeignParts
+ */
+class CensusColumnBornForeignPartsTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornEnglandCensusEngland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('London, England');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('England');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornWalesCensusEngland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Cardiff, Wales');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('England');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornScotlandCensusEngland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Edinburgh, Scotland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('England');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('S', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornIrelandCensusEngland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Dublin, Ireland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('England');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('I', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornForeignCensusEngland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Elbonia');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('England');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('F', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornEnglandCensusIreland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('London, England');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Ireland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('E', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornWalesCensusIreland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Cardiff, Wales');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Ireland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('E', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornScotlandCensusIreland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Edinburgh, Scotland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Ireland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('S', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornIrelandCensusIreland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Dublin, Ireland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Ireland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornForeignCensusIreland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Elbonia');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Ireland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('F', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornEnglandCensusScotland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('London, England');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Scotland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('E', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornWalesCensusScotland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Cardiff, Wales');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Scotland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('E', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornScotlandCensusScotland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Edinburgh, Scotland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Scotland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornIrelandCensusScotland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Dublin, Ireland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Scotland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('I', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornForeignCensusScotland() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Elbonia');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Scotland');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('F', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornEnglandCensusWales() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('London, England');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Wales');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornWalesCensusWales() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Cardiff, Wales');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Wales');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornScotlandCensusWales() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Edinburgh, Scotland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Wales');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('S', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornIrelandCensusWales() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Dublin, Ireland');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Wales');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('I', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornForeignParts
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testBornForeignCensusWales() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getBirthPlace')->andReturn('Elbonia');
+
+ $census = Mockery::mock(CensusInterface::class);
+ $census->shouldReceive('censusPlace')->andReturn('Wales');
+
+ $column = new CensusColumnBornForeignParts($census);
+
+ $this->assertSame('F', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnBornSameCountyTest.php b/tests/app/Census/CensusColumnBornSameCountyTest.php
new file mode 100644
index 0000000000..f985461a54
--- /dev/null
+++ b/tests/app/Census/CensusColumnBornSameCountyTest.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Fact;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnBornSameCounty
+ */
+class CensusColumnBornSameCountyTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnBornSameCounty
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testDefault() {
+ $individual = Mockery::mock(Individual::class);
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnBornSameCounty($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnFullNameTest.php b/tests/app/Census/CensusColumnFullNameTest.php
new file mode 100644
index 0000000000..460f2a8b14
--- /dev/null
+++ b/tests/app/Census/CensusColumnFullNameTest.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnFullName
+ */
+class CensusColumnFullNameTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnFullName
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testFullName() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getFullName')->andReturn('Joe Bloggs');
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnFullName($census);
+
+ $this->assertSame('Joe Bloggs', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusColumnOccupationTest.php b/tests/app/Census/CensusColumnOccupationTest.php
new file mode 100644
index 0000000000..5852e38012
--- /dev/null
+++ b/tests/app/Census/CensusColumnOccupationTest.php
@@ -0,0 +1,68 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+use Fisharebest\Webtrees\Date;
+use Fisharebest\Webtrees\Fact;
+use Fisharebest\Webtrees\Individual;
+use Mockery;
+
+/**
+ * Test harness for the class CensusColumnOccupation
+ */
+class CensusColumnOccupationTest extends \PHPUnit_Framework_TestCase {
+ /**
+ * Delete mock objects
+ */
+ public function tearDown() {
+ Mockery::close();
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnOccupation
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testNoOccupation() {
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getFacts')->withArgs(['OCCU'])->andReturn([]);
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnOccupation($census);
+
+ $this->assertSame('', $column->generate($individual));
+ }
+
+ /**
+ * @covers Fisharebest\Webtrees\Census\CensusColumnOccupation
+ * @covers Fisharebest\Webtrees\Census\AbstractCensusColumn
+ */
+ public function testOccupation() {
+ $fact = Mockery::mock(Fact::class);
+ $fact->shouldReceive('getValue')->andReturn('Farmer');
+
+ $individual = Mockery::mock(Individual::class);
+ $individual->shouldReceive('getFacts')->withArgs(['OCCU'])->andReturn([$fact]);
+
+ $census = Mockery::mock(CensusInterface::class);
+
+ $column = new CensusColumnOccupation($census);
+
+ $this->assertSame('Farmer', $column->generate($individual));
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1787Test.php b/tests/app/Census/CensusOfDenmark1787Test.php
new file mode 100644
index 0000000000..7d89a7557d
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1787Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1787
+ */
+class CensusOfDenmark1787Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1787;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 JUL 1787', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1801Test.php b/tests/app/Census/CensusOfDenmark1801Test.php
new file mode 100644
index 0000000000..f6c12c6892
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1801Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1801
+ */
+class CensusOfDenmark1801Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1801;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1801', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1834Test.php b/tests/app/Census/CensusOfDenmark1834Test.php
new file mode 100644
index 0000000000..340f9cd80d
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1834Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1834
+ */
+class CensusOfDenmark1834Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1834;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('18 FEB 1834', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1840Test.php b/tests/app/Census/CensusOfDenmark1840Test.php
new file mode 100644
index 0000000000..5eca2604dc
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1840Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1840
+ */
+class CensusOfDenmark1840Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1840;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1840', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1845Test.php b/tests/app/Census/CensusOfDenmark1845Test.php
new file mode 100644
index 0000000000..59dfc9f58f
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1845Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1845
+ */
+class CensusOfDenmark1845Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1845;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1845', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1850Test.php b/tests/app/Census/CensusOfDenmark1850Test.php
new file mode 100644
index 0000000000..b00ed6cb45
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1850Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1850
+ */
+class CensusOfDenmark1850Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1850;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1850', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1855Test.php b/tests/app/Census/CensusOfDenmark1855Test.php
new file mode 100644
index 0000000000..793f5d77e4
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1855Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1855
+ */
+class CensusOfDenmark1855Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1855;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1855', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1860Test.php b/tests/app/Census/CensusOfDenmark1860Test.php
new file mode 100644
index 0000000000..20a53185ba
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1860Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1860
+ */
+class CensusOfDenmark1860Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1860;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1860', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1870Test.php b/tests/app/Census/CensusOfDenmark1870Test.php
new file mode 100644
index 0000000000..fff0e6e140
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1870Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1870
+ */
+class CensusOfDenmark1870Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1870;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1870', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1880Test.php b/tests/app/Census/CensusOfDenmark1880Test.php
new file mode 100644
index 0000000000..895d1a7bc0
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1880Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1880
+ */
+class CensusOfDenmark1880Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1880;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1880', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1890Test.php b/tests/app/Census/CensusOfDenmark1890Test.php
new file mode 100644
index 0000000000..c522d4753f
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1890Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1890
+ */
+class CensusOfDenmark1890Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1890;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1890', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1901Test.php b/tests/app/Census/CensusOfDenmark1901Test.php
new file mode 100644
index 0000000000..4eb17f00af
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1901Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1901
+ */
+class CensusOfDenmark1901Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1901;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1901', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1906Test.php b/tests/app/Census/CensusOfDenmark1906Test.php
new file mode 100644
index 0000000000..2bffeced58
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1906Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1906
+ */
+class CensusOfDenmark1906Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1906;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1906', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1911Test.php b/tests/app/Census/CensusOfDenmark1911Test.php
new file mode 100644
index 0000000000..491795af69
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1911Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1911
+ */
+class CensusOfDenmark1911Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1911;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1911', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1916Test.php b/tests/app/Census/CensusOfDenmark1916Test.php
new file mode 100644
index 0000000000..c9b9715a44
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1916Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1916
+ */
+class CensusOfDenmark1916Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1916;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1916', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1921Test.php b/tests/app/Census/CensusOfDenmark1921Test.php
new file mode 100644
index 0000000000..3f3e82dc0b
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1921Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1921
+ */
+class CensusOfDenmark1921Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1921;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('01 FEB 1921', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1925Test.php b/tests/app/Census/CensusOfDenmark1925Test.php
new file mode 100644
index 0000000000..d5b9c6e22d
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1925Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1925
+ */
+class CensusOfDenmark1925Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1925;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('05 NOV 1925', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfDenmark1930Test.php b/tests/app/Census/CensusOfDenmark1930Test.php
new file mode 100644
index 0000000000..9f42a0ac28
--- /dev/null
+++ b/tests/app/Census/CensusOfDenmark1930Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfDenmark1930
+ */
+class CensusOfDenmark1930Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfDenmark1930;
+
+ $this->assertSame('Danmark', $census->censusPlace());
+ $this->assertSame('05 NOV 1930', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1841Test.php b/tests/app/Census/CensusOfEngland1841Test.php
new file mode 100644
index 0000000000..2d2877b09a
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1841Test.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1841
+ */
+class CensusOfEngland1841Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1841;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('06 MAY 1841', $census->censusDate());
+ }
+
+ /**
+ * Test the census place and date
+ */
+ public function testColumns() {
+ $census = new CensusOfEngland1841;
+ $columns = $census->columns();
+
+ $this->assertCount(6, $columns);
+ $this->assertInstanceOf(CensusColumnFullName::class, $columns[0]);
+ $this->assertInstanceOf(CensusColumnAgeMale5Years::class, $columns[1]);
+ $this->assertInstanceOf(CensusColumnAgeFemale5Years::class, $columns[2]);
+ $this->assertInstanceOf(CensusColumnOccupation::class, $columns[3]);
+ $this->assertInstanceOf(CensusColumnBornSameCounty::class, $columns[4]);
+ $this->assertInstanceOf(CensusColumnBornForeignParts::class, $columns[5]);
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1851Test.php b/tests/app/Census/CensusOfEngland1851Test.php
new file mode 100644
index 0000000000..8987cd24d0
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1851Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1851
+ */
+class CensusOfEngland1851Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1851;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('30 MAR 1851', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1861Test.php b/tests/app/Census/CensusOfEngland1861Test.php
new file mode 100644
index 0000000000..9b63284c32
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1861Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1861
+ */
+class CensusOfEngland1861Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1861;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('07 MAR 1861', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1871Test.php b/tests/app/Census/CensusOfEngland1871Test.php
new file mode 100644
index 0000000000..9fe42bfb7f
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1871Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1871
+ */
+class CensusOfEngland1871Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1871;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('02 MAR 1871', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1881Test.php b/tests/app/Census/CensusOfEngland1881Test.php
new file mode 100644
index 0000000000..20cf30b53e
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1881Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1881
+ */
+class CensusOfEngland1881Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1881;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('03 MAR 1881', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1891Test.php b/tests/app/Census/CensusOfEngland1891Test.php
new file mode 100644
index 0000000000..98b9ead58d
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1891Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1891
+ */
+class CensusOfEngland1891Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1891;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('05 MAR 1891', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1901Test.php b/tests/app/Census/CensusOfEngland1901Test.php
new file mode 100644
index 0000000000..e9a18f9365
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1901Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1901
+ */
+class CensusOfEngland1901Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1901;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('31 MAR 1901', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfEngland1911Test.php b/tests/app/Census/CensusOfEngland1911Test.php
new file mode 100644
index 0000000000..73c4c0c42d
--- /dev/null
+++ b/tests/app/Census/CensusOfEngland1911Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfEngland1911
+ */
+class CensusOfEngland1911Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfEngland1911;
+
+ $this->assertSame('England', $census->censusPlace());
+ $this->assertSame('02 MAR 1911', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1836Test.php b/tests/app/Census/CensusOfFrance1836Test.php
new file mode 100644
index 0000000000..de5598a337
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1836Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1836
+ */
+class CensusOfFrance1836Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1836;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1836', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1841Test.php b/tests/app/Census/CensusOfFrance1841Test.php
new file mode 100644
index 0000000000..14352dd96f
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1841Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1841
+ */
+class CensusOfFrance1841Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1841;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1841', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1846Test.php b/tests/app/Census/CensusOfFrance1846Test.php
new file mode 100644
index 0000000000..b4f1a0b0d3
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1846Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1846
+ */
+class CensusOfFrance1846Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1846;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1846', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1851Test.php b/tests/app/Census/CensusOfFrance1851Test.php
new file mode 100644
index 0000000000..81dc3aa2fd
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1851Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1851
+ */
+class CensusOfFrance1851Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1851;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1851', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1856Test.php b/tests/app/Census/CensusOfFrance1856Test.php
new file mode 100644
index 0000000000..b0d5ff8af3
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1856Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1856
+ */
+class CensusOfFrance1856Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1856;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1856', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1861Test.php b/tests/app/Census/CensusOfFrance1861Test.php
new file mode 100644
index 0000000000..d91b7a20c4
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1861Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1861
+ */
+class CensusOfFrance1861Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1861;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1861', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1866Test.php b/tests/app/Census/CensusOfFrance1866Test.php
new file mode 100644
index 0000000000..f68858cac6
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1866Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1866
+ */
+class CensusOfFrance1866Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1866;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1866', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1872Test.php b/tests/app/Census/CensusOfFrance1872Test.php
new file mode 100644
index 0000000000..096920db1d
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1872Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1872
+ */
+class CensusOfFrance1872Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1872;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1872', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1876Test.php b/tests/app/Census/CensusOfFrance1876Test.php
new file mode 100644
index 0000000000..dd07d7f3ab
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1876Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1876
+ */
+class CensusOfFrance1876Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1876;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1876', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1881Test.php b/tests/app/Census/CensusOfFrance1881Test.php
new file mode 100644
index 0000000000..200939b66b
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1881Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1881
+ */
+class CensusOfFrance1881Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1881;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1881', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1886Test.php b/tests/app/Census/CensusOfFrance1886Test.php
new file mode 100644
index 0000000000..a64e2fb999
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1886Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1886
+ */
+class CensusOfFrance1886Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1886;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1886', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1891Test.php b/tests/app/Census/CensusOfFrance1891Test.php
new file mode 100644
index 0000000000..e63565693e
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1891Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1891
+ */
+class CensusOfFrance1891Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1891;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1891', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1896Test.php b/tests/app/Census/CensusOfFrance1896Test.php
new file mode 100644
index 0000000000..f2aae0b39e
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1896Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1896
+ */
+class CensusOfFrance1896Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1896;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1896', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1901Test.php b/tests/app/Census/CensusOfFrance1901Test.php
new file mode 100644
index 0000000000..237b904c05
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1901Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1901
+ */
+class CensusOfFrance1901Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1901;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1901', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1906Test.php b/tests/app/Census/CensusOfFrance1906Test.php
new file mode 100644
index 0000000000..676838cc35
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1906Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1906
+ */
+class CensusOfFrance1906Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1906;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1906', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfFrance1911Test.php b/tests/app/Census/CensusOfFrance1911Test.php
new file mode 100644
index 0000000000..9a5c149163
--- /dev/null
+++ b/tests/app/Census/CensusOfFrance1911Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfFrance1911
+ */
+class CensusOfFrance1911Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfFrance1911;
+
+ $this->assertSame('France', $census->censusPlace());
+ $this->assertSame('1911', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1841Test.php b/tests/app/Census/CensusOfScotland1841Test.php
new file mode 100644
index 0000000000..dff476b4ed
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1841Test.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1841
+ */
+class CensusOfScotland1841Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1841;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('06 MAY 1841', $census->censusDate());
+ }
+
+ /**
+ * Test the census place and date
+ */
+ public function testColumns() {
+ $census = new CensusOfScotland1841;
+ $columns = $census->columns();
+
+ $this->assertCount(6, $columns);
+ $this->assertInstanceOf(CensusColumnFullName::class, $columns[0]);
+ $this->assertInstanceOf(CensusColumnAgeMale5Years::class, $columns[1]);
+ $this->assertInstanceOf(CensusColumnAgeFemale5Years::class, $columns[2]);
+ $this->assertInstanceOf(CensusColumnOccupation::class, $columns[3]);
+ $this->assertInstanceOf(CensusColumnBornSameCounty::class, $columns[4]);
+ $this->assertInstanceOf(CensusColumnBornForeignParts::class, $columns[5]);
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1851Test.php b/tests/app/Census/CensusOfScotland1851Test.php
new file mode 100644
index 0000000000..d99c807705
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1851Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1851
+ */
+class CensusOfScotland1851Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1851;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('30 MAR 1851', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1861Test.php b/tests/app/Census/CensusOfScotland1861Test.php
new file mode 100644
index 0000000000..9fc12fd0ec
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1861Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1861
+ */
+class CensusOfScotland1861Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1861;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('07 MAR 1861', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1871Test.php b/tests/app/Census/CensusOfScotland1871Test.php
new file mode 100644
index 0000000000..7fecab0542
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1871Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1871
+ */
+class CensusOfScotland1871Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1871;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('02 MAR 1871', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1881Test.php b/tests/app/Census/CensusOfScotland1881Test.php
new file mode 100644
index 0000000000..c4838c0794
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1881Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1881
+ */
+class CensusOfScotland1881Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1881;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('03 MAR 1881', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1891Test.php b/tests/app/Census/CensusOfScotland1891Test.php
new file mode 100644
index 0000000000..fe0df796a9
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1891Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1891
+ */
+class CensusOfScotland1891Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1891;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('05 MAR 1891', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1901Test.php b/tests/app/Census/CensusOfScotland1901Test.php
new file mode 100644
index 0000000000..e90c5f8c19
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1901Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1901
+ */
+class CensusOfScotland1901Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1901;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('31 MAR 1901', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfScotland1911Test.php b/tests/app/Census/CensusOfScotland1911Test.php
new file mode 100644
index 0000000000..9f414bd99f
--- /dev/null
+++ b/tests/app/Census/CensusOfScotland1911Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfScotland1911
+ */
+class CensusOfScotland1911Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfScotland1911;
+
+ $this->assertSame('Scotland', $census->censusPlace());
+ $this->assertSame('02 MAR 1911', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1790Test.php b/tests/app/Census/CensusOfUnitedStates1790Test.php
new file mode 100644
index 0000000000..baf01cd432
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1790Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1790
+ */
+class CensusOfUnitedStates1790Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1790;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('02 AUG 1790', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1800Test.php b/tests/app/Census/CensusOfUnitedStates1800Test.php
new file mode 100644
index 0000000000..99ee9db77d
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1800Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1800
+ */
+class CensusOfUnitedStates1800Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1800;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('04 AUG 1800', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1810Test.php b/tests/app/Census/CensusOfUnitedStates1810Test.php
new file mode 100644
index 0000000000..ce49553dbd
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1810Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1810
+ */
+class CensusOfUnitedStates1810Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1810;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('06 AUG 1810', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1820Test.php b/tests/app/Census/CensusOfUnitedStates1820Test.php
new file mode 100644
index 0000000000..ef6d2ce997
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1820Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1820
+ */
+class CensusOfUnitedStates1820Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1820;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('07 AUG 1820', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1830Test.php b/tests/app/Census/CensusOfUnitedStates1830Test.php
new file mode 100644
index 0000000000..a8ce68ed6e
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1830Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1830
+ */
+class CensusOfUnitedStates1830Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1830;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('01 JUN 1830', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1840Test.php b/tests/app/Census/CensusOfUnitedStates1840Test.php
new file mode 100644
index 0000000000..0a91664210
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1840Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1840
+ */
+class CensusOfUnitedStates1840Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1840;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('01 JUN 1840', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1850Test.php b/tests/app/Census/CensusOfUnitedStates1850Test.php
new file mode 100644
index 0000000000..d36d783a37
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1850Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1850
+ */
+class CensusOfUnitedStates1850Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1850;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('01 JUN 1850', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1860Test.php b/tests/app/Census/CensusOfUnitedStates1860Test.php
new file mode 100644
index 0000000000..7b973136f3
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1860Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1860
+ */
+class CensusOfUnitedStates1860Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1860;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('BET JUN 1860 AND OCT 1860', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1870Test.php b/tests/app/Census/CensusOfUnitedStates1870Test.php
new file mode 100644
index 0000000000..332c6c4e01
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1870Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1870
+ */
+class CensusOfUnitedStates1870Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1870;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('JUN 1870', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1880Test.php b/tests/app/Census/CensusOfUnitedStates1880Test.php
new file mode 100644
index 0000000000..89560fe45b
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1880Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1880
+ */
+class CensusOfUnitedStates1880Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1880;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('JUN 1880', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1890Test.php b/tests/app/Census/CensusOfUnitedStates1890Test.php
new file mode 100644
index 0000000000..db42e13705
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1890Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1890
+ */
+class CensusOfUnitedStates1890Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1890;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('02 JUN 1890', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1900Test.php b/tests/app/Census/CensusOfUnitedStates1900Test.php
new file mode 100644
index 0000000000..f2f14c5cd8
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1900Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1900
+ */
+class CensusOfUnitedStates1900Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1900;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('01 JUN 1900', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1910Test.php b/tests/app/Census/CensusOfUnitedStates1910Test.php
new file mode 100644
index 0000000000..c2dc9504f9
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1910Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1910
+ */
+class CensusOfUnitedStates1910Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1910;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('15 APR 1910', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1920Test.php b/tests/app/Census/CensusOfUnitedStates1920Test.php
new file mode 100644
index 0000000000..fd2e798274
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1920Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1920
+ */
+class CensusOfUnitedStates1920Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1920;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('JAN 1920', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1930Test.php b/tests/app/Census/CensusOfUnitedStates1930Test.php
new file mode 100644
index 0000000000..884317c068
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1930Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1930
+ */
+class CensusOfUnitedStates1930Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1930;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('APR 1930', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfUnitedStates1940Test.php b/tests/app/Census/CensusOfUnitedStates1940Test.php
new file mode 100644
index 0000000000..41b0aca18a
--- /dev/null
+++ b/tests/app/Census/CensusOfUnitedStates1940Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfUnitedStates1940
+ */
+class CensusOfUnitedStates1940Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfUnitedStates1940;
+
+ $this->assertSame('United States', $census->censusPlace());
+ $this->assertSame('01 APR 1940', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1841Test.php b/tests/app/Census/CensusOfWales1841Test.php
new file mode 100644
index 0000000000..4345e4fa2d
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1841Test.php
@@ -0,0 +1,49 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1841
+ */
+class CensusOfWales1841Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1841;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('06 MAY 1841', $census->censusDate());
+ }
+
+ /**
+ * Test the census place and date
+ */
+ public function testColumns() {
+ $census = new CensusOfWales1841;
+ $columns = $census->columns();
+
+ $this->assertCount(6, $columns);
+ $this->assertInstanceOf(CensusColumnFullName::class, $columns[0]);
+ $this->assertInstanceOf(CensusColumnAgeMale5Years::class, $columns[1]);
+ $this->assertInstanceOf(CensusColumnAgeFemale5Years::class, $columns[2]);
+ $this->assertInstanceOf(CensusColumnOccupation::class, $columns[3]);
+ $this->assertInstanceOf(CensusColumnBornSameCounty::class, $columns[4]);
+ $this->assertInstanceOf(CensusColumnBornForeignParts::class, $columns[5]);
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1851Test.php b/tests/app/Census/CensusOfWales1851Test.php
new file mode 100644
index 0000000000..4f65554e8d
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1851Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1851
+ */
+class CensusOfWales1851Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1851;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('30 MAR 1851', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1861Test.php b/tests/app/Census/CensusOfWales1861Test.php
new file mode 100644
index 0000000000..c5a02b1348
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1861Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1861
+ */
+class CensusOfWales1861Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1861;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('07 MAR 1861', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1871Test.php b/tests/app/Census/CensusOfWales1871Test.php
new file mode 100644
index 0000000000..80f6ad81e6
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1871Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1871
+ */
+class CensusOfWales1871Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1871;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('02 MAR 1871', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1881Test.php b/tests/app/Census/CensusOfWales1881Test.php
new file mode 100644
index 0000000000..515cb215b5
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1881Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1881
+ */
+class CensusOfWales1881Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1881;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('03 MAR 1881', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1891Test.php b/tests/app/Census/CensusOfWales1891Test.php
new file mode 100644
index 0000000000..6e260bf9a9
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1891Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1891
+ */
+class CensusOfWales1891Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1891;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('05 MAR 1891', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1901Test.php b/tests/app/Census/CensusOfWales1901Test.php
new file mode 100644
index 0000000000..76cd89550d
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1901Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1901
+ */
+class CensusOfWales1901Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1901;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('31 MAR 1901', $census->censusDate());
+ }
+}
diff --git a/tests/app/Census/CensusOfWales1911Test.php b/tests/app/Census/CensusOfWales1911Test.php
new file mode 100644
index 0000000000..f3ed211820
--- /dev/null
+++ b/tests/app/Census/CensusOfWales1911Test.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Fisharebest\Webtrees\Census;
+
+/**
+ * Test harness for the class CensusOfWales1911
+ */
+class CensusOfWales1911Test extends \PHPUnit_Framework_TestCase {
+ /**
+ * Test the census place and date
+ */
+ public function testPlaceAndDate() {
+ $census = new CensusOfWales1911;
+
+ $this->assertSame('Wales', $census->censusPlace());
+ $this->assertSame('02 MAR 1911', $census->censusDate());
+ }
+}
diff --git a/tests/app/Controller/AdvancedSearchControllerTest.php b/tests/app/Controller/AdvancedSearchControllerTest.php
index 15e2a52d8e..1f715d1679 100644
--- a/tests/app/Controller/AdvancedSearchControllerTest.php
+++ b/tests/app/Controller/AdvancedSearchControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class AdvancedSearchController
*/
-class AdvancedSearchControllerTest extends PHPUnit_Framework_TestCase {
+class AdvancedSearchControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/AjaxControllerTest.php b/tests/app/Controller/AjaxControllerTest.php
index edff609b94..2e2d8cb608 100644
--- a/tests/app/Controller/AjaxControllerTest.php
+++ b/tests/app/Controller/AjaxControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class AjaxController
*/
-class AjaxControllerTest extends PHPUnit_Framework_TestCase {
+class AjaxControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/AncestryControllerTest.php b/tests/app/Controller/AncestryControllerTest.php
index a1b73fe158..1cbfd43234 100644
--- a/tests/app/Controller/AncestryControllerTest.php
+++ b/tests/app/Controller/AncestryControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class AncestryController
*/
-class AncestryControllerTest extends PHPUnit_Framework_TestCase {
+class AncestryControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/BaseControllerTest.php b/tests/app/Controller/BaseControllerTest.php
index b874492883..a9631c5e7e 100644
--- a/tests/app/Controller/BaseControllerTest.php
+++ b/tests/app/Controller/BaseControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BaseController
*/
-class BaseControllerTest extends PHPUnit_Framework_TestCase {
+class BaseControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/BranchesControllerTest.php b/tests/app/Controller/BranchesControllerTest.php
index 73c42489d1..e12b297970 100644
--- a/tests/app/Controller/BranchesControllerTest.php
+++ b/tests/app/Controller/BranchesControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BranchesController
*/
-class BranchesControllerTest extends PHPUnit_Framework_TestCase {
+class BranchesControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/ChartControllerTest.php b/tests/app/Controller/ChartControllerTest.php
index ef4e61e473..1204f292f6 100644
--- a/tests/app/Controller/ChartControllerTest.php
+++ b/tests/app/Controller/ChartControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ChartController
*/
-class ChartControllerTest extends PHPUnit_Framework_TestCase {
+class ChartControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/CompactControllerTest.php b/tests/app/Controller/CompactControllerTest.php
index 952fbffad8..c13d148624 100644
--- a/tests/app/Controller/CompactControllerTest.php
+++ b/tests/app/Controller/CompactControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class CompactController
*/
-class CompactControllerTest extends PHPUnit_Framework_TestCase {
+class CompactControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/DescendancyControllerTest.php b/tests/app/Controller/DescendancyControllerTest.php
index d4a56d5cf4..b4e34be6e1 100644
--- a/tests/app/Controller/DescendancyControllerTest.php
+++ b/tests/app/Controller/DescendancyControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class DescendancyController
*/
-class DescendancyControllerTest extends PHPUnit_Framework_TestCase {
+class DescendancyControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/FamilyControllerTest.php b/tests/app/Controller/FamilyControllerTest.php
index d4e2fb1365..c14bda151b 100644
--- a/tests/app/Controller/FamilyControllerTest.php
+++ b/tests/app/Controller/FamilyControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyController
*/
-class FamilyControllerTest extends PHPUnit_Framework_TestCase {
+class FamilyControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/FamilybookControllerTest.php b/tests/app/Controller/FamilybookControllerTest.php
index 1e6d9b104c..79e041069a 100644
--- a/tests/app/Controller/FamilybookControllerTest.php
+++ b/tests/app/Controller/FamilybookControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyBookController
*/
-class FamilybookControllerTest extends PHPUnit_Framework_TestCase {
+class FamilybookControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/FanchartControllerTest.php b/tests/app/Controller/FanchartControllerTest.php
index c5a019a671..ee1930c725 100644
--- a/tests/app/Controller/FanchartControllerTest.php
+++ b/tests/app/Controller/FanchartControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FanchartController
*/
-class FanchartControllerTest extends PHPUnit_Framework_TestCase {
+class FanchartControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/GedcomRecordControllerTest.php b/tests/app/Controller/GedcomRecordControllerTest.php
index a40f19212d..7e031f4844 100644
--- a/tests/app/Controller/GedcomRecordControllerTest.php
+++ b/tests/app/Controller/GedcomRecordControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomRecordController
*/
-class GedcomRecordControllerTest extends PHPUnit_Framework_TestCase {
+class GedcomRecordControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/HourglassControllerTest.php b/tests/app/Controller/HourglassControllerTest.php
index e42c8ae2ba..8a0d2fd8cb 100644
--- a/tests/app/Controller/HourglassControllerTest.php
+++ b/tests/app/Controller/HourglassControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class HourglassController
*/
-class HourglassControllerTest extends PHPUnit_Framework_TestCase {
+class HourglassControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/IndividualControllerTest.php b/tests/app/Controller/IndividualControllerTest.php
index ec56658326..267e9fa959 100644
--- a/tests/app/Controller/IndividualControllerTest.php
+++ b/tests/app/Controller/IndividualControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class IndividualController
*/
-class IndividualControllerTest extends PHPUnit_Framework_TestCase {
+class IndividualControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/LifespanControllerTest.php b/tests/app/Controller/LifespanControllerTest.php
index 39844f29f6..42d3f7bd3a 100644
--- a/tests/app/Controller/LifespanControllerTest.php
+++ b/tests/app/Controller/LifespanControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class LifespanController
*/
-class LifespanControllerTest extends PHPUnit_Framework_TestCase {
+class LifespanControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/MediaControllerTest.php b/tests/app/Controller/MediaControllerTest.php
index 84a185cc96..2bfe03b222 100644
--- a/tests/app/Controller/MediaControllerTest.php
+++ b/tests/app/Controller/MediaControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class MediaController
*/
-class MediaControllerTest extends PHPUnit_Framework_TestCase {
+class MediaControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/NoteControllerTest.php b/tests/app/Controller/NoteControllerTest.php
index 6721caed8d..057f697caa 100644
--- a/tests/app/Controller/NoteControllerTest.php
+++ b/tests/app/Controller/NoteControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class NoteController
*/
-class NoteControllerTest extends PHPUnit_Framework_TestCase {
+class NoteControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/PageControllerTest.php b/tests/app/Controller/PageControllerTest.php
index 0f63a2f32b..76011fe4f4 100644
--- a/tests/app/Controller/PageControllerTest.php
+++ b/tests/app/Controller/PageControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class PageController
*/
-class PageControllerTest extends PHPUnit_Framework_TestCase {
+class PageControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/PedigreeControllerTest.php b/tests/app/Controller/PedigreeControllerTest.php
index eb59f4c245..d0540e888b 100644
--- a/tests/app/Controller/PedigreeControllerTest.php
+++ b/tests/app/Controller/PedigreeControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class PedigreeController
*/
-class PedigreeControllerTest extends PHPUnit_Framework_TestCase {
+class PedigreeControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/RepositoryControllerTest.php b/tests/app/Controller/RepositoryControllerTest.php
index 2454155fd1..dfc8c602f5 100644
--- a/tests/app/Controller/RepositoryControllerTest.php
+++ b/tests/app/Controller/RepositoryControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class RepositoryController
*/
-class RepositoryControllerTest extends PHPUnit_Framework_TestCase {
+class RepositoryControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/SearchControllerTest.php b/tests/app/Controller/SearchControllerTest.php
index 64cbd2fddc..1f9024001e 100644
--- a/tests/app/Controller/SearchControllerTest.php
+++ b/tests/app/Controller/SearchControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SearchController
*/
-class SearchControllerTest extends PHPUnit_Framework_TestCase {
+class SearchControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/SimpleControllerTest.php b/tests/app/Controller/SimpleControllerTest.php
index 04f144819a..65e9ddfa71 100644
--- a/tests/app/Controller/SimpleControllerTest.php
+++ b/tests/app/Controller/SimpleControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SimpleController
*/
-class SimpleControllerTest extends PHPUnit_Framework_TestCase {
+class SimpleControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/SourceControllerTest.php b/tests/app/Controller/SourceControllerTest.php
index 45228ec38e..babce7b2a3 100644
--- a/tests/app/Controller/SourceControllerTest.php
+++ b/tests/app/Controller/SourceControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SourceController
*/
-class SourceControllerTest extends PHPUnit_Framework_TestCase {
+class SourceControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Controller/TimelineControllerTest.php b/tests/app/Controller/TimelineControllerTest.php
index f5d2016c68..42c4278737 100644
--- a/tests/app/Controller/TimelineControllerTest.php
+++ b/tests/app/Controller/TimelineControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class TimelineController
*/
-class TimelineControllerTest extends PHPUnit_Framework_TestCase {
+class TimelineControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/DatabaseTest.php b/tests/app/DatabaseTest.php
index ddc9b05ac4..044b527493 100644
--- a/tests/app/DatabaseTest.php
+++ b/tests/app/DatabaseTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Statement
*/
-class DatabaseTest extends PHPUnit_Framework_TestCase {
+class DatabaseTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/CalendarDateTest.php b/tests/app/Date/CalendarDateTest.php
index b2d9dec928..132056630f 100644
--- a/tests/app/Date/CalendarDateTest.php
+++ b/tests/app/Date/CalendarDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class CalendarDate
*/
-class CalendarDateTest extends PHPUnit_Framework_TestCase {
+class CalendarDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/FrenchDateTest.php b/tests/app/Date/FrenchDateTest.php
index 8c1e025500..79bb090afc 100644
--- a/tests/app/Date/FrenchDateTest.php
+++ b/tests/app/Date/FrenchDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FrenchDate
*/
-class FrenchDateTest extends PHPUnit_Framework_TestCase {
+class FrenchDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/GregorianDateTest.php b/tests/app/Date/GregorianDateTest.php
index f5a22f4960..8d337160e8 100644
--- a/tests/app/Date/GregorianDateTest.php
+++ b/tests/app/Date/GregorianDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GregorianDate
*/
-class GregorianDateTest extends PHPUnit_Framework_TestCase {
+class GregorianDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/HijriDateTest.php b/tests/app/Date/HijriDateTest.php
index 6e5585f1ca..21db84406a 100644
--- a/tests/app/Date/HijriDateTest.php
+++ b/tests/app/Date/HijriDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class \HijriDate
*/
-class HijriDateTest extends PHPUnit_Framework_TestCase {
+class HijriDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/JalaliDateTest.php b/tests/app/Date/JalaliDateTest.php
index 57be56d60d..95ecad7d43 100644
--- a/tests/app/Date/JalaliDateTest.php
+++ b/tests/app/Date/JalaliDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class JalaliDate
*/
-class JalaliDateTest extends PHPUnit_Framework_TestCase {
+class JalaliDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/JewishDateTest.php b/tests/app/Date/JewishDateTest.php
index c73facc8a1..3f90930978 100644
--- a/tests/app/Date/JewishDateTest.php
+++ b/tests/app/Date/JewishDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class JewishDate
*/
-class JewishDateTest extends PHPUnit_Framework_TestCase {
+class JewishDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/JulianDateTest.php b/tests/app/Date/JulianDateTest.php
index fb22090121..8bee0781c2 100644
--- a/tests/app/Date/JulianDateTest.php
+++ b/tests/app/Date/JulianDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class JulianDate
*/
-class JulianDateTest extends PHPUnit_Framework_TestCase {
+class JulianDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Date/RomanDateTest.php b/tests/app/Date/RomanDateTest.php
index ada0d0183e..3b853276ba 100644
--- a/tests/app/Date/RomanDateTest.php
+++ b/tests/app/Date/RomanDateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class RomanDate
*/
-class RomanDateTest extends PHPUnit_Framework_TestCase {
+class RomanDateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/DateTest.php b/tests/app/DateTest.php
index 9025c96ea7..b2afef914a 100644
--- a/tests/app/DateTest.php
+++ b/tests/app/DateTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Date
*/
-class DateTest extends PHPUnit_Framework_TestCase {
+class DateTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/FactTest.php b/tests/app/FactTest.php
index 429a8938ab..f095f25158 100644
--- a/tests/app/FactTest.php
+++ b/tests/app/FactTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Fact
*/
-class FactTest extends PHPUnit_Framework_TestCase {
+class FactTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/FamilyTest.php b/tests/app/FamilyTest.php
index b3e6182bef..2f0537ef18 100644
--- a/tests/app/FamilyTest.php
+++ b/tests/app/FamilyTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Family
*/
-class FamilyTest extends PHPUnit_Framework_TestCase {
+class FamilyTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/FileTest.php b/tests/app/FileTest.php
index c1b658f612..e826663c57 100644
--- a/tests/app/FileTest.php
+++ b/tests/app/FileTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class File
*/
-class FileTest extends PHPUnit_Framework_TestCase {
+class FileTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/FilterTest.php b/tests/app/FilterTest.php
index f3bd122375..69453349b9 100644
--- a/tests/app/FilterTest.php
+++ b/tests/app/FilterTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Filter
*/
-class FilterTest extends PHPUnit_Framework_TestCase {
+class FilterTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/FlashMessagesTest.php b/tests/app/FlashMessagesTest.php
index 62ad8f4ab8..f083bc262e 100644
--- a/tests/app/FlashMessagesTest.php
+++ b/tests/app/FlashMessagesTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FlashMessages
*/
-class FlashMessagesTest extends PHPUnit_Framework_TestCase {
+class FlashMessagesTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Functions/FunctionsChartsTest.php b/tests/app/Functions/FunctionsChartsTest.php
index 7a73a863a7..4b48520ae1 100644
--- a/tests/app/Functions/FunctionsChartsTest.php
+++ b/tests/app/Functions/FunctionsChartsTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_charts.php
*/
-class FunctionsChartsTest extends PHPUnit_Framework_TestCase {
+class FunctionsChartsTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsDateTest.php b/tests/app/Functions/FunctionsDateTest.php
index 6d1a2f2331..cd183ac15a 100644
--- a/tests/app/Functions/FunctionsDateTest.php
+++ b/tests/app/Functions/FunctionsDateTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_date.php
*/
-class FunctionsDateTest extends PHPUnit_Framework_TestCase {
+class FunctionsDateTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsDbTest.php b/tests/app/Functions/FunctionsDbTest.php
index 568cebb1b1..c75771c907 100644
--- a/tests/app/Functions/FunctionsDbTest.php
+++ b/tests/app/Functions/FunctionsDbTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_db.php
*/
-class FunctionsDbTest extends PHPUnit_Framework_TestCase {
+class FunctionsDbTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsEditTest.php b/tests/app/Functions/FunctionsEditTest.php
index dc0736cb44..832748ed22 100644
--- a/tests/app/Functions/FunctionsEditTest.php
+++ b/tests/app/Functions/FunctionsEditTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_edit.php
*/
-class FunctionsEditTest extends PHPUnit_Framework_TestCase {
+class FunctionsEditTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsExportTest.php b/tests/app/Functions/FunctionsExportTest.php
index 9f45befc0f..67bfdd23f2 100644
--- a/tests/app/Functions/FunctionsExportTest.php
+++ b/tests/app/Functions/FunctionsExportTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_export.php
*/
-class FunctionsExportTest extends PHPUnit_Framework_TestCase {
+class FunctionsExportTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsImportTest.php b/tests/app/Functions/FunctionsImportTest.php
index 1809f1d551..c723843996 100644
--- a/tests/app/Functions/FunctionsImportTest.php
+++ b/tests/app/Functions/FunctionsImportTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_import.php
*/
-class FunctionsImportTest extends PHPUnit_Framework_TestCase {
+class FunctionsImportTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsMediaTest.php b/tests/app/Functions/FunctionsMediaTest.php
index 3bdc182783..97072f5ffd 100644
--- a/tests/app/Functions/FunctionsMediaTest.php
+++ b/tests/app/Functions/FunctionsMediaTest.php
@@ -19,7 +19,7 @@ use Fisharebest\Webtrees\Functions\FunctionsMedia;
/**
* Unit tests for the global functions in the file includes/functions/functions_mediadb.php
*/
-class FunctionsMediaTest extends PHPUnit_Framework_TestCase {
+class FunctionsMediaTest extends \PHPUnit_Framework_TestCase {
/**
* Test the function return_bytes().
*/
diff --git a/tests/app/Functions/FunctionsPrintFactsTest.php b/tests/app/Functions/FunctionsPrintFactsTest.php
index 0de3f03089..537352372a 100644
--- a/tests/app/Functions/FunctionsPrintFactsTest.php
+++ b/tests/app/Functions/FunctionsPrintFactsTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_print_facts.php
*/
-class FunctionsPrintFactsTest extends PHPUnit_Framework_TestCase {
+class FunctionsPrintFactsTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsPrintListsTest.php b/tests/app/Functions/FunctionsPrintListsTest.php
index 8949264312..29d67814b4 100644
--- a/tests/app/Functions/FunctionsPrintListsTest.php
+++ b/tests/app/Functions/FunctionsPrintListsTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_print_lists.php
*/
-class FunctionsPrintListsTest extends PHPUnit_Framework_TestCase {
+class FunctionsPrintListsTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsPrintTest.php b/tests/app/Functions/FunctionsPrintTest.php
index 4781ccf144..7c14722a7e 100644
--- a/tests/app/Functions/FunctionsPrintTest.php
+++ b/tests/app/Functions/FunctionsPrintTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_print.php
*/
-class FunctionsPrintTest extends PHPUnit_Framework_TestCase {
+class FunctionsPrintTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsRtlTest.php b/tests/app/Functions/FunctionsRtlTest.php
index 379334c1e4..84030c3525 100644
--- a/tests/app/Functions/FunctionsRtlTest.php
+++ b/tests/app/Functions/FunctionsRtlTest.php
@@ -18,7 +18,7 @@
/**
* Unit tests for the global functions in the file includes/functions/functions_rtl.php
*/
-class FunctionsRtlTest extends PHPUnit_Framework_TestCase {
+class FunctionsRtlTest extends \PHPUnit_Framework_TestCase {
/**
* Test that the class exists
*/
diff --git a/tests/app/Functions/FunctionsTest.php b/tests/app/Functions/FunctionsTest.php
index 6713483e60..b7b19d4c80 100644
--- a/tests/app/Functions/FunctionsTest.php
+++ b/tests/app/Functions/FunctionsTest.php
@@ -19,7 +19,7 @@ use Fisharebest\Webtrees\Functions\Functions;
/**
* Unit tests for the global functions in the file includes/functions/functions.php
*/
-class FunctionsTest extends PHPUnit_Framework_TestCase {
+class FunctionsTest extends \PHPUnit_Framework_TestCase {
/**
* Tests for function isFileExternal()
*/
diff --git a/tests/app/Gedcom/GedcomCodeAdopTest.php b/tests/app/Gedcom/GedcomCodeAdopTest.php
index 4111448f19..64b7dcd7d3 100644
--- a/tests/app/Gedcom/GedcomCodeAdopTest.php
+++ b/tests/app/Gedcom/GedcomCodeAdopTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeAdop
*/
-class GedcomCodeAdopTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeAdopTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodeNameTest.php b/tests/app/Gedcom/GedcomCodeNameTest.php
index 97373ff4b1..402a7c4ccf 100644
--- a/tests/app/Gedcom/GedcomCodeNameTest.php
+++ b/tests/app/Gedcom/GedcomCodeNameTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeName
*/
-class GedcomCodeNameTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeNameTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodePediTest.php b/tests/app/Gedcom/GedcomCodePediTest.php
index 7640abe01b..e9b70a5fe3 100644
--- a/tests/app/Gedcom/GedcomCodePediTest.php
+++ b/tests/app/Gedcom/GedcomCodePediTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodePedi
*/
-class GedcomCodePediTest extends PHPUnit_Framework_TestCase {
+class GedcomCodePediTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodeQuayTest.php b/tests/app/Gedcom/GedcomCodeQuayTest.php
index c11b3f1fa0..b174e1c1f0 100644
--- a/tests/app/Gedcom/GedcomCodeQuayTest.php
+++ b/tests/app/Gedcom/GedcomCodeQuayTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeQuay
*/
-class GedcomCodeQuayTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeQuayTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodeRelaTest.php b/tests/app/Gedcom/GedcomCodeRelaTest.php
index 899c1061dc..30342138c6 100644
--- a/tests/app/Gedcom/GedcomCodeRelaTest.php
+++ b/tests/app/Gedcom/GedcomCodeRelaTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeRela
*/
-class GedcomCodeRelaTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeRelaTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodeStatTest.php b/tests/app/Gedcom/GedcomCodeStatTest.php
index 89d39e48d9..7f7d74d738 100644
--- a/tests/app/Gedcom/GedcomCodeStatTest.php
+++ b/tests/app/Gedcom/GedcomCodeStatTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeStat
*/
-class GedcomCodeStatTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeStatTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Gedcom/GedcomCodeTempTest.php b/tests/app/Gedcom/GedcomCodeTempTest.php
index 4ceb9bee08..dcb0845065 100644
--- a/tests/app/Gedcom/GedcomCodeTempTest.php
+++ b/tests/app/Gedcom/GedcomCodeTempTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomCodeTemp
*/
-class GedcomCodeTempTest extends PHPUnit_Framework_TestCase {
+class GedcomCodeTempTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/GedcomRecordTest.php b/tests/app/GedcomRecordTest.php
index 46456e1586..e8c0d784e1 100644
--- a/tests/app/GedcomRecordTest.php
+++ b/tests/app/GedcomRecordTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomRecord
*/
-class GedcomRecordTest extends PHPUnit_Framework_TestCase {
+class GedcomRecordTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/GedcomTagTest.php b/tests/app/GedcomTagTest.php
index 80693caa13..1de75fc63f 100644
--- a/tests/app/GedcomTagTest.php
+++ b/tests/app/GedcomTagTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GedcomTag
*/
-class GedcomTagTest extends PHPUnit_Framework_TestCase {
+class GedcomTagTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/I18NTest.php b/tests/app/I18NTest.php
index e058d48342..910a763647 100644
--- a/tests/app/I18NTest.php
+++ b/tests/app/I18NTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\I18N;
/**
* Test harness for the class I18N
*/
-class I18NTest extends PHPUnit_Framework_TestCase {
+class I18NTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/IndividualTest.php b/tests/app/IndividualTest.php
index bcb1bb4f16..fea4c2168e 100644
--- a/tests/app/IndividualTest.php
+++ b/tests/app/IndividualTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Individual
*/
-class IndividualTest extends PHPUnit_Framework_TestCase {
+class IndividualTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/LogTest.php b/tests/app/LogTest.php
index 0c3a999472..53551773d0 100644
--- a/tests/app/LogTest.php
+++ b/tests/app/LogTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class WT_Log
*/
-class LogTest extends PHPUnit_Framework_TestCase {
+class LogTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/MailTest.php b/tests/app/MailTest.php
index c883f2f7a3..af105ef58a 100644
--- a/tests/app/MailTest.php
+++ b/tests/app/MailTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Mail
*/
-class MailTest extends PHPUnit_Framework_TestCase {
+class MailTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/MediaTest.php b/tests/app/MediaTest.php
index 5228335946..452d7061c4 100644
--- a/tests/app/MediaTest.php
+++ b/tests/app/MediaTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Media
*/
-class MediaTest extends PHPUnit_Framework_TestCase {
+class MediaTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/MenuTest.php b/tests/app/MenuTest.php
index cc1f452002..10b7d1f7b7 100644
--- a/tests/app/MenuTest.php
+++ b/tests/app/MenuTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\Menu;
/**
* Test harness for the class Menu
*/
-class MenuTest extends PHPUnit_Framework_TestCase {
+class MenuTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests.
*/
diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php
index b6c2f6f8f7..c4080b79bc 100644
--- a/tests/app/Module/AhnentafelReportModuleTest.php
+++ b/tests/app/Module/AhnentafelReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class AhnentafelReportModule
*/
-class AhnentafelReportModuleTest extends PHPUnit_Framework_TestCase {
+class AhnentafelReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php
index 7ea884f68e..000050945e 100644
--- a/tests/app/Module/AlbumModuleTest.php
+++ b/tests/app/Module/AlbumModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class AlbumModule
*/
-class AlbumModuleTest extends PHPUnit_Framework_TestCase {
+class AlbumModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
index 5e2a21f5a4..5cead29249 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateBasePluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateBasePlugin
*/
-class BatchUpdateBasePluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateBasePluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
index e24a752589..a308d179c4 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateDuplicateLinksPluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateDuplicateLinksPlugin
*/
-class BatchUpdateDuplicateLinksPluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateDuplicateLinksPluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
index 6ed7da37c7..926eabe3af 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateMarriedNamesPluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateMarriedNamesPlugin
*/
-class BatchUpdateMarriedNamesPluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateMarriedNamesPluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
index 26988646dc..3bb0f76550 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateMissingDeathPluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateMissingDeathPlugin
*/
-class BatchUpdateMissingDeathPluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateMissingDeathPluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
index 27624e0e64..d72a06d06c 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateNameFormatPluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateNameFormatPlugin
*/
-class BatchUpdateNameFormatPluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateNameFormatPluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
index 2a99cea59b..da00e03411 100644
--- a/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
+++ b/tests/app/Module/BatchUpdate/BatchUpdateSearchReplacePluginTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateSearchReplacePlugin
*/
-class BatchUpdateSearchReplacePluginTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateSearchReplacePluginTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BatchUpdateModuleTest.php b/tests/app/Module/BatchUpdateModuleTest.php
index 4860800d9b..e8e8a66553 100644
--- a/tests/app/Module/BatchUpdateModuleTest.php
+++ b/tests/app/Module/BatchUpdateModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BatchUpdateModule
*/
-class BatchUpdateModuleTest extends PHPUnit_Framework_TestCase {
+class BatchUpdateModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
index d25d067586..1314acc944 100644
--- a/tests/app/Module/BirthDeathMarriageReportModuleTest.php
+++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BirthDeathMarriageReportModule
*/
-class BirthDeathMarriageReportModuleTest extends PHPUnit_Framework_TestCase {
+class BirthDeathMarriageReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php
index 660684e99e..ee017087c0 100644
--- a/tests/app/Module/BirthReportModuleTest.php
+++ b/tests/app/Module/BirthReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class BirthReportModule
*/
-class BirthReportModuleTest extends PHPUnit_Framework_TestCase {
+class BirthReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php
index 15f5ee0c45..da7971f2d6 100644
--- a/tests/app/Module/CemeteryReportModuleTest.php
+++ b/tests/app/Module/CemeteryReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class CemeteryReportModule
*/
-class CemeteryReportModuleTest extends PHPUnit_Framework_TestCase {
+class CemeteryReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php
index 7ac3d9edb3..aec3c5de92 100644
--- a/tests/app/Module/CensusAssistantModuleTest.php
+++ b/tests/app/Module/CensusAssistantModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class CensusAssistantModule
*/
-class CensusAssistantModuleTest extends PHPUnit_Framework_TestCase {
+class CensusAssistantModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php
index ea6e9ef92d..141a7d71fb 100644
--- a/tests/app/Module/ChangeReportModuleTest.php
+++ b/tests/app/Module/ChangeReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ChangeReportModule
*/
-class ChangeReportModuleTest extends PHPUnit_Framework_TestCase {
+class ChangeReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php
index 0edadd0aa9..8e7128d586 100644
--- a/tests/app/Module/ChartsBlockModuleTest.php
+++ b/tests/app/Module/ChartsBlockModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ChartsBlockModule
*/
-class ChartsBlockModuleTest extends PHPUnit_Framework_TestCase {
+class ChartsBlockModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php
index 3366a0b364..e87a6e8934 100644
--- a/tests/app/Module/CkeditorModuleTest.php
+++ b/tests/app/Module/CkeditorModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class CkeditorModule
*/
-class CkeditorModuleTest extends PHPUnit_Framework_TestCase {
+class CkeditorModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php b/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php
index ced778f195..f3342bee94 100644
--- a/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php
+++ b/tests/app/Module/ClippingsCart/ClippingsCartControllerTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ClippingsCartController
*/
-class ClippingsCartControllerTest extends PHPUnit_Framework_TestCase {
+class ClippingsCartControllerTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
index 97f4418d8d..55d7ce73a5 100644
--- a/tests/app/Module/ClippingsCartModuleTest.php
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ClippingsCartModule
*/
-class ClippingsCartModuleTest extends PHPUnit_Framework_TestCase {
+class ClippingsCartModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php
index 7e2256a8f6..e5502eb825 100644
--- a/tests/app/Module/DeathReportModuleTest.php
+++ b/tests/app/Module/DeathReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class DeathReportModule
*/
-class DeathReportModuleTest extends PHPUnit_Framework_TestCase {
+class DeathReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php
index 6f6ea16274..cdc41df32b 100644
--- a/tests/app/Module/DescendancyModuleTest.php
+++ b/tests/app/Module/DescendancyModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class DescendancyModule
*/
-class DescendancyModuleTest extends PHPUnit_Framework_TestCase {
+class DescendancyModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php
index 5794daced4..da616b5888 100644
--- a/tests/app/Module/DescendancyReportModuleTest.php
+++ b/tests/app/Module/DescendancyReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class DescendancyReportModule
*/
-class DescendancyReportModuleTest extends PHPUnit_Framework_TestCase {
+class DescendancyReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ExtraInformationModuleTest.php b/tests/app/Module/ExtraInformationModuleTest.php
index d915452c50..ddf0e74185 100644
--- a/tests/app/Module/ExtraInformationModuleTest.php
+++ b/tests/app/Module/ExtraInformationModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ExtraInformationModule
*/
-class ExtraInformationModuleTest extends PHPUnit_Framework_TestCase {
+class ExtraInformationModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php
index 6b1bf88dcb..c96607833d 100644
--- a/tests/app/Module/FactSourcesReportModuleTest.php
+++ b/tests/app/Module/FactSourcesReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FactSourcesReportModule
*/
-class FactSourcesReportModuleTest extends PHPUnit_Framework_TestCase {
+class FactSourcesReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamiliesSidebarModuleTest.php b/tests/app/Module/FamiliesSidebarModuleTest.php
index 14b5fa0d03..ad9da3534e 100644
--- a/tests/app/Module/FamiliesSidebarModuleTest.php
+++ b/tests/app/Module/FamiliesSidebarModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamiliesSidebarModule
*/
-class FamiliesSidebarModuleTest extends PHPUnit_Framework_TestCase {
+class FamiliesSidebarModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php
index 21b0a30b5b..80ae272285 100644
--- a/tests/app/Module/FamilyGroupReportModuleTest.php
+++ b/tests/app/Module/FamilyGroupReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyGroupReportModule
*/
-class FamilyGroupReportModuleTest extends PHPUnit_Framework_TestCase {
+class FamilyGroupReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php
index ee2cdc69b5..f29b527a33 100644
--- a/tests/app/Module/FamilyNavigatorModuleTest.php
+++ b/tests/app/Module/FamilyNavigatorModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyNavigatorModule
*/
-class FamilyNavigatorModuleTest extends PHPUnit_Framework_TestCase {
+class FamilyNavigatorModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
index 74a1f074f2..b9960695c3 100644
--- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php
+++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyTreeFavoritesModule
*/
-class FamilyTreeFavoritesModuleTest extends PHPUnit_Framework_TestCase {
+class FamilyTreeFavoritesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php
index a211d806f9..3eed7f06d8 100644
--- a/tests/app/Module/FamilyTreeNewsModuleTest.php
+++ b/tests/app/Module/FamilyTreeNewsModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyTreeNewsModule
*/
-class FamilyTreeNewsModuleTest extends PHPUnit_Framework_TestCase {
+class FamilyTreeNewsModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
index 0774c406ef..5617c662d8 100644
--- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php
+++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FamilyTreeStatisticsModule
*/
-class FamilyTreeStatisticsModuleTest extends PHPUnit_Framework_TestCase {
+class FamilyTreeStatisticsModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
index e14a8bca92..0836c41a21 100644
--- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
+++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class FrequentlyAskedQuestionsModule
*/
-class FrequentlyAskedQuestionsModuleTest extends PHPUnit_Framework_TestCase {
+class FrequentlyAskedQuestionsModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/GoogleMapsModuleTest.php b/tests/app/Module/GoogleMapsModuleTest.php
index 9715af17cd..11022e1a30 100644
--- a/tests/app/Module/GoogleMapsModuleTest.php
+++ b/tests/app/Module/GoogleMapsModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class GoogleMapsModule
*/
-class GoogleMapsModuleTest extends PHPUnit_Framework_TestCase {
+class GoogleMapsModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php
index deb3296c70..796f1551e7 100644
--- a/tests/app/Module/HtmlBlockModuleTest.php
+++ b/tests/app/Module/HtmlBlockModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class HtmlBlockModule
*/
-class HtmlBlockModuleTest extends PHPUnit_Framework_TestCase {
+class HtmlBlockModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php
index 6137503d18..b7a7adcf85 100644
--- a/tests/app/Module/IndividualFactsTabModuleTest.php
+++ b/tests/app/Module/IndividualFactsTabModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class IndividualFactsTabModule
*/
-class IndividualFactsTabModuleTest extends PHPUnit_Framework_TestCase {
+class IndividualFactsTabModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php
index f4e975d86e..873e20fc51 100644
--- a/tests/app/Module/IndividualFamiliesReportModuleTest.php
+++ b/tests/app/Module/IndividualFamiliesReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class IndividualFamiliesReportModule
*/
-class IndividualFamiliesReportModuleTest extends PHPUnit_Framework_TestCase {
+class IndividualFamiliesReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php
index 4460a3dba5..ad0f3a9530 100644
--- a/tests/app/Module/IndividualReportModuleTest.php
+++ b/tests/app/Module/IndividualReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class IndividualReportModule
*/
-class IndividualReportModuleTest extends PHPUnit_Framework_TestCase {
+class IndividualReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/IndividualSidebarModuleTest.php b/tests/app/Module/IndividualSidebarModuleTest.php
index 715f585603..4ba4796c29 100644
--- a/tests/app/Module/IndividualSidebarModuleTest.php
+++ b/tests/app/Module/IndividualSidebarModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class IndividualSidebarModule
*/
-class IndividualSidebarModuleTest extends PHPUnit_Framework_TestCase {
+class IndividualSidebarModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php
index 7646ff3e55..4c195ffcd3 100644
--- a/tests/app/Module/InteractiveTree/TreeViewTest.php
+++ b/tests/app/Module/InteractiveTree/TreeViewTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class TreeView
*/
-class TreeViewTest extends PHPUnit_Framework_TestCase {
+class TreeViewTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php
index 5dbbb791f5..146e496a49 100644
--- a/tests/app/Module/InteractiveTreeModuleTest.php
+++ b/tests/app/Module/InteractiveTreeModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class InteractiveTreeModule
*/
-class InteractiveTreeModuleTest extends PHPUnit_Framework_TestCase {
+class InteractiveTreeModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php
index 13feec5f0e..383ac68962 100644
--- a/tests/app/Module/LoggedInUsersModuleTest.php
+++ b/tests/app/Module/LoggedInUsersModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class LoggedInUsersModule
*/
-class LoggedInUsersModuleTest extends PHPUnit_Framework_TestCase {
+class LoggedInUsersModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php
index b52241a9d4..caa69a3acb 100644
--- a/tests/app/Module/MarriageReportModuleTest.php
+++ b/tests/app/Module/MarriageReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class MarriageReportModule
*/
-class MarriageReportModuleTest extends PHPUnit_Framework_TestCase {
+class MarriageReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php
index 6025e21d73..4edc3b05bb 100644
--- a/tests/app/Module/MediaTabModuleTest.php
+++ b/tests/app/Module/MediaTabModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class MediaTabModule
*/
-class MediaTabModuleTest extends PHPUnit_Framework_TestCase {
+class MediaTabModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php
index 1410184844..1d0e0bb2af 100644
--- a/tests/app/Module/MissingFactsReportModuleTest.php
+++ b/tests/app/Module/MissingFactsReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class MissingFactsReportModule
*/
-class MissingFactsReportModuleTest extends PHPUnit_Framework_TestCase {
+class MissingFactsReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleBlockInterfaceTest.php b/tests/app/Module/ModuleBlockInterfaceTest.php
index 1a0004a531..5e7e58431f 100644
--- a/tests/app/Module/ModuleBlockInterfaceTest.php
+++ b/tests/app/Module/ModuleBlockInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleBlockInterface
*/
-class ModuleBlockInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleBlockInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleChartInterfaceTest.php b/tests/app/Module/ModuleChartInterfaceTest.php
index 2024fe9b1f..72159a767c 100644
--- a/tests/app/Module/ModuleChartInterfaceTest.php
+++ b/tests/app/Module/ModuleChartInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleChartInterface
*/
-class ModuleChartInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleChartInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleConfigInterfaceTest.php b/tests/app/Module/ModuleConfigInterfaceTest.php
index e1a464cc68..a3edb9f322 100644
--- a/tests/app/Module/ModuleConfigInterfaceTest.php
+++ b/tests/app/Module/ModuleConfigInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleConfigInterface
*/
-class ModuleConfigInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleConfigInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleMenuInterfaceTest.php b/tests/app/Module/ModuleMenuInterfaceTest.php
index be1c833247..9dc63b7cd2 100644
--- a/tests/app/Module/ModuleMenuInterfaceTest.php
+++ b/tests/app/Module/ModuleMenuInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleMenuInterface
*/
-class ModuleMenuInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleMenuInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleReportInterfaceTest.php b/tests/app/Module/ModuleReportInterfaceTest.php
index a1171fc4f1..73f8e9f682 100644
--- a/tests/app/Module/ModuleReportInterfaceTest.php
+++ b/tests/app/Module/ModuleReportInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleReportInterface
*/
-class ModuleReportInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleReportInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleSidebarInterfaceTest.php b/tests/app/Module/ModuleSidebarInterfaceTest.php
index 253bb36a9d..1f6bd2b405 100644
--- a/tests/app/Module/ModuleSidebarInterfaceTest.php
+++ b/tests/app/Module/ModuleSidebarInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleSidebarInterface
*/
-class ModuleSidebarInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleSidebarInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleTabInterfaceTest.php b/tests/app/Module/ModuleTabInterfaceTest.php
index e54eb86954..b31ece9ac5 100644
--- a/tests/app/Module/ModuleTabInterfaceTest.php
+++ b/tests/app/Module/ModuleTabInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleTabInterface
*/
-class ModuleTabInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleTabInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ModuleThemeInterfaceTest.php b/tests/app/Module/ModuleThemeInterfaceTest.php
index d8535bfb92..044c8cd841 100644
--- a/tests/app/Module/ModuleThemeInterfaceTest.php
+++ b/tests/app/Module/ModuleThemeInterfaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ModuleThemeInterface
*/
-class ModuleThemeInterfaceTest extends PHPUnit_Framework_TestCase {
+class ModuleThemeInterfaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php
index 539b332c47..1d2fd96695 100644
--- a/tests/app/Module/NotesTabModuleTest.php
+++ b/tests/app/Module/NotesTabModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class NotesTabModule
*/
-class NotesTabModuleTest extends PHPUnit_Framework_TestCase {
+class NotesTabModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php
index 0a1a316e48..6a4ce6372d 100644
--- a/tests/app/Module/OccupationReportModuleTest.php
+++ b/tests/app/Module/OccupationReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class OccupationReportModule
*/
-class OccupationReportModuleTest extends PHPUnit_Framework_TestCase {
+class OccupationReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php
index e3e1038096..203216d62d 100644
--- a/tests/app/Module/OnThisDayModuleTest.php
+++ b/tests/app/Module/OnThisDayModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class OnThisDayModule
*/
-class OnThisDayModuleTest extends PHPUnit_Framework_TestCase {
+class OnThisDayModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/PageMenuModuleTest.php b/tests/app/Module/PageMenuModuleTest.php
index 8cd5e941fb..f4cc9a0750 100644
--- a/tests/app/Module/PageMenuModuleTest.php
+++ b/tests/app/Module/PageMenuModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class PageMenuModule
*/
-class PageMenuModuleTest extends PHPUnit_Framework_TestCase {
+class PageMenuModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php
index d88d2d6b51..97d3cbefb0 100644
--- a/tests/app/Module/PedigreeReportModuleTest.php
+++ b/tests/app/Module/PedigreeReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class PedigreeReportModule
*/
-class PedigreeReportModuleTest extends PHPUnit_Framework_TestCase {
+class PedigreeReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php
index 5ccc6ba8c6..fd98a6c1ad 100644
--- a/tests/app/Module/RecentChangesModuleTest.php
+++ b/tests/app/Module/RecentChangesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class RecentChangesModule
*/
-class RecentChangesModuleTest extends PHPUnit_Framework_TestCase {
+class RecentChangesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php
index ea2e866f7a..e095119e01 100644
--- a/tests/app/Module/RelatedIndividualsReportModuleTest.php
+++ b/tests/app/Module/RelatedIndividualsReportModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class RelatedIndividualsReportModule
*/
-class RelatedIndividualsReportModuleTest extends PHPUnit_Framework_TestCase {
+class RelatedIndividualsReportModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php
index 43da392ce4..d25b54f8e6 100644
--- a/tests/app/Module/RelativesTabModuleTest.php
+++ b/tests/app/Module/RelativesTabModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class RelativesTabModule
*/
-class RelativesTabModuleTest extends PHPUnit_Framework_TestCase {
+class RelativesTabModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php
index cd481c20fb..93517bcbc9 100644
--- a/tests/app/Module/ResearchTaskModuleTest.php
+++ b/tests/app/Module/ResearchTaskModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ResearchTaskModule
*/
-class ResearchTaskModuleTest extends PHPUnit_Framework_TestCase {
+class ResearchTaskModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php
index a440ddc232..db1f2b10ee 100644
--- a/tests/app/Module/ReviewChangesModuleTest.php
+++ b/tests/app/Module/ReviewChangesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ReviewChangesModule
*/
-class ReviewChangesModuleTest extends PHPUnit_Framework_TestCase {
+class ReviewChangesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php
index 1a06b8cc6d..8ed322cbcf 100644
--- a/tests/app/Module/SiteMapModuleTest.php
+++ b/tests/app/Module/SiteMapModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SiteMapModule
*/
-class SiteMapModuleTest extends PHPUnit_Framework_TestCase {
+class SiteMapModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php
index a196d4ac2b..dd3ff2d01a 100644
--- a/tests/app/Module/SlideShowModuleTest.php
+++ b/tests/app/Module/SlideShowModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SlideShowModule
*/
-class SlideShowModuleTest extends PHPUnit_Framework_TestCase {
+class SlideShowModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php
index 804a4edb6e..a551758251 100644
--- a/tests/app/Module/SourcesTabModuleTest.php
+++ b/tests/app/Module/SourcesTabModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class SourcesTabModule
*/
-class SourcesTabModuleTest extends PHPUnit_Framework_TestCase {
+class SourcesTabModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php
index 10272c492d..2bce5cdb51 100644
--- a/tests/app/Module/StoriesModuleTest.php
+++ b/tests/app/Module/StoriesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class StoriesModule
*/
-class StoriesModuleTest extends PHPUnit_Framework_TestCase {
+class StoriesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php
index 4200c825f2..1944af9de9 100644
--- a/tests/app/Module/ThemeSelectModuleTest.php
+++ b/tests/app/Module/ThemeSelectModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ThemeSelectModule
*/
-class ThemeSelectModuleTest extends PHPUnit_Framework_TestCase {
+class ThemeSelectModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php
index 69c599a395..99cfe3730e 100644
--- a/tests/app/Module/TopGivenNamesModuleTest.php
+++ b/tests/app/Module/TopGivenNamesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class TopGivenNamesModuleModule
*/
-class TopGivenNamesModuleTest extends PHPUnit_Framework_TestCase {
+class TopGivenNamesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php
index 8ba5318bba..2b8a49ed6c 100644
--- a/tests/app/Module/TopPageViewsModuleTest.php
+++ b/tests/app/Module/TopPageViewsModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class TopPageViewsModule
*/
-class TopPageViewsModuleTest extends PHPUnit_Framework_TestCase {
+class TopPageViewsModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php
index 33377295f3..5d2bc7d321 100644
--- a/tests/app/Module/TopSurnamesModuleTest.php
+++ b/tests/app/Module/TopSurnamesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class TopSurnamesModule
*/
-class TopSurnamesModuleTest extends PHPUnit_Framework_TestCase {
+class TopSurnamesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/UpcomingAnniversariesModuleTest.php b/tests/app/Module/UpcomingAnniversariesModuleTest.php
index 4bd355ccfa..aedb5075cc 100644
--- a/tests/app/Module/UpcomingAnniversariesModuleTest.php
+++ b/tests/app/Module/UpcomingAnniversariesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class UpcomingAnniversariesModule
*/
-class UpcomingAnniversariesModuleTest extends PHPUnit_Framework_TestCase {
+class UpcomingAnniversariesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php
index 0634c39f25..63b25aef2e 100644
--- a/tests/app/Module/UserFavoritesModuleTest.php
+++ b/tests/app/Module/UserFavoritesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class UserFavoritesModule
*/
-class UserFavoritesModuleTest extends PHPUnit_Framework_TestCase {
+class UserFavoritesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php
index 40172aeb32..16da6f9ad5 100644
--- a/tests/app/Module/UserJournalModuleTest.php
+++ b/tests/app/Module/UserJournalModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class UserJournalModule
*/
-class UserJournalModuleTest extends PHPUnit_Framework_TestCase {
+class UserJournalModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php
index e873a67469..f9cdb1f239 100644
--- a/tests/app/Module/UserMessagesModuleTest.php
+++ b/tests/app/Module/UserMessagesModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class UserMessagesModule
*/
-class UserMessagesModuleTest extends PHPUnit_Framework_TestCase {
+class UserMessagesModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php
index 5ccc261a62..6a50464b38 100644
--- a/tests/app/Module/UserWelcomeModuleTest.php
+++ b/tests/app/Module/UserWelcomeModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class UserWelcomeModule
*/
-class UserWelcomeModuleTest extends PHPUnit_Framework_TestCase {
+class UserWelcomeModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php
index 0d3eff0748..e27ec30d4a 100644
--- a/tests/app/Module/WelcomeBlockModuleTest.php
+++ b/tests/app/Module/WelcomeBlockModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class WelcomeBlockModule
*/
-class WelcomeBlockModuleTest extends PHPUnit_Framework_TestCase {
+class WelcomeBlockModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php
index f349cdb4d6..d1b659da88 100644
--- a/tests/app/Module/YahrzeitModuleTest.php
+++ b/tests/app/Module/YahrzeitModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class YahrzeitModule
*/
-class YahrzeitModuleTest extends PHPUnit_Framework_TestCase {
+class YahrzeitModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/ModuleTest.php b/tests/app/ModuleTest.php
index b9a1943046..30c00e103c 100644
--- a/tests/app/ModuleTest.php
+++ b/tests/app/ModuleTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Module
*/
-class ModuleTest extends PHPUnit_Framework_TestCase {
+class ModuleTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/NoteTest.php b/tests/app/NoteTest.php
index 80e4b10d99..b3d219225d 100644
--- a/tests/app/NoteTest.php
+++ b/tests/app/NoteTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Note
*/
-class NoteTest extends PHPUnit_Framework_TestCase {
+class NoteTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/PlaceTest.php b/tests/app/PlaceTest.php
index 10be986ad1..4191630b4a 100644
--- a/tests/app/PlaceTest.php
+++ b/tests/app/PlaceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Place
*/
-class PlaceTest extends PHPUnit_Framework_TestCase {
+class PlaceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Query/QueryMediaTest.php b/tests/app/Query/QueryMediaTest.php
index 15754db82e..a247358bab 100644
--- a/tests/app/Query/QueryMediaTest.php
+++ b/tests/app/Query/QueryMediaTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class QueryMedia
*/
-class QueryMediaTest extends PHPUnit_Framework_TestCase {
+class QueryMediaTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Query/QueryNameTest.php b/tests/app/Query/QueryNameTest.php
index b53ff09290..3362d337e2 100644
--- a/tests/app/Query/QueryNameTest.php
+++ b/tests/app/Query/QueryNameTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class QueryName
*/
-class QueryNameTest extends PHPUnit_Framework_TestCase {
+class QueryNameTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Report/ReportBaseTest.php b/tests/app/Report/ReportBaseTest.php
index 5d25fb950f..529cf6f49c 100644
--- a/tests/app/Report/ReportBaseTest.php
+++ b/tests/app/Report/ReportBaseTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ReportBase
*/
-class ReportBaseTest extends PHPUnit_Framework_TestCase {
+class ReportBaseTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Report/ReportHTMLTest.php b/tests/app/Report/ReportHTMLTest.php
index 0d2eb49e6e..e1f3ea531a 100644
--- a/tests/app/Report/ReportHTMLTest.php
+++ b/tests/app/Report/ReportHTMLTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ReportHtml
*/
-class ReportHTMLTest extends PHPUnit_Framework_TestCase {
+class ReportHTMLTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/Report/ReportPDFTest.php b/tests/app/Report/ReportPDFTest.php
index 14de0fbd38..6f83036117 100644
--- a/tests/app/Report/ReportPDFTest.php
+++ b/tests/app/Report/ReportPDFTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class ReportPdf
*/
-class ReportPDFTest extends PHPUnit_Framework_TestCase {
+class ReportPDFTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/RepositoryTest.php b/tests/app/RepositoryTest.php
index 5e96ae5790..822e7b23bb 100644
--- a/tests/app/RepositoryTest.php
+++ b/tests/app/RepositoryTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Repository
*/
-class RepositoryTest extends PHPUnit_Framework_TestCase {
+class RepositoryTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/SiteTest.php b/tests/app/SiteTest.php
index d01a8fd970..e28ac8d149 100644
--- a/tests/app/SiteTest.php
+++ b/tests/app/SiteTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Site
*/
-class SiteTest extends PHPUnit_Framework_TestCase {
+class SiteTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/SoundexTest.php b/tests/app/SoundexTest.php
index 79d5212daa..30aaf6571b 100644
--- a/tests/app/SoundexTest.php
+++ b/tests/app/SoundexTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Soundex
*/
-class SoundexTest extends PHPUnit_Framework_TestCase {
+class SoundexTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/SourceTest.php b/tests/app/SourceTest.php
index b46c039253..825a93766a 100644
--- a/tests/app/SourceTest.php
+++ b/tests/app/SourceTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Source
*/
-class SourceTest extends PHPUnit_Framework_TestCase {
+class SourceTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/StatementTest.php b/tests/app/StatementTest.php
index 8234c3c1e4..a85f9ac615 100644
--- a/tests/app/StatementTest.php
+++ b/tests/app/StatementTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Statement
*/
-class StatementTest extends PHPUnit_Framework_TestCase {
+class StatementTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/StatsTest.php b/tests/app/StatsTest.php
index 178112eb3f..012fa4be00 100644
--- a/tests/app/StatsTest.php
+++ b/tests/app/StatsTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Stats
*/
-class StatsTest extends PHPUnit_Framework_TestCase {
+class StatsTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
index bb7d5693c7..422ec17786 100644
--- a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class DefaultSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class DefaultSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
index 2260e2d0e3..1f6cb12a5f 100644
--- a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class IcelandicSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class IcelandicSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
index 27033f80b8..8b8a153094 100644
--- a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class LithuanianSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class LithuanianSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
index 418c787274..21003eae04 100644
--- a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class PatrilinenalSurnameTradition
*/
-class MatrilinealSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class MatrilinealSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
index ac63eee00c..5f3724dd45 100644
--- a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class PaternalSurnameTradition
*/
-class PaternalSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class PaternalSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
index 3d1f6782ba..bce5162687 100644
--- a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class PatrilinenalSurnameTradition
*/
-class PatrilinealSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class PatrilinealSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
index 24b9b71042..885cf6f879 100644
--- a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class PolishSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class PolishSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
index 4ae5e80e4e..0f1e2356de 100644
--- a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class PortugueseSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class PortugueseSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
index d06066050d..4eae398e9d 100644
--- a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\SurnameTradition\SurnameTraditionInterface;
/**
* Test harness for the class SpanishSurnameTradition
*/
-class SpanishSurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class SpanishSurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/** @var SurnameTraditionInterface */
private $surname_tradition;
diff --git a/tests/app/SurnameTraditionTest.php b/tests/app/SurnameTraditionTest.php
index 5e32a69b15..601121c44a 100644
--- a/tests/app/SurnameTraditionTest.php
+++ b/tests/app/SurnameTraditionTest.php
@@ -28,7 +28,7 @@ use Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition;
/**
* Test harness for the class Soundex
*/
-class SurnameTraditionTest extends PHPUnit_Framework_TestCase {
+class SurnameTraditionTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/TreeTest.php b/tests/app/TreeTest.php
index 727bde14bc..0d31b8f609 100644
--- a/tests/app/TreeTest.php
+++ b/tests/app/TreeTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class Tree
*/
-class TreeTest extends PHPUnit_Framework_TestCase {
+class TreeTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/
diff --git a/tests/app/UserTest.php b/tests/app/UserTest.php
index b49019a96e..aa8b5bce13 100644
--- a/tests/app/UserTest.php
+++ b/tests/app/UserTest.php
@@ -18,7 +18,7 @@
/**
* Test harness for the class WT_User
*/
-class UserTest extends PHPUnit_Framework_TestCase {
+class UserTest extends \PHPUnit_Framework_TestCase {
/**
* Prepare the environment for these tests
*/