|
@@ -43,6 +43,8 @@ class CensusEntryConverterTest {
|
|
|
CensusEntryGaelic gaelic = GetRandomCensusEntryGaelic();
|
|
|
CensusEntryWorker worker = GetRandomCensusEntryWorker();
|
|
|
Person person = GetRandomPerson();
|
|
|
+ String age = GetRandomString();
|
|
|
+ String whereBorn = GetRandomString();
|
|
|
|
|
|
source.setId(id);
|
|
|
source.setName(name);
|
|
@@ -52,6 +54,8 @@ class CensusEntryConverterTest {
|
|
|
source.setCondition(condition);
|
|
|
source.setGaelic(gaelic);
|
|
|
source.setWorker(worker);
|
|
|
+ source.setAge(age);
|
|
|
+ source.setWhereBorn(whereBorn);
|
|
|
|
|
|
CensusEntryCommand target = converter.convert(source);
|
|
|
|
|
@@ -64,5 +68,7 @@ class CensusEntryConverterTest {
|
|
|
assertEquals(condition, target.getCondition());
|
|
|
assertEquals(gaelic, target.getGaelic());
|
|
|
assertEquals(worker, target.getWorker());
|
|
|
+ assertEquals(age, target.getAge());
|
|
|
+ assertEquals(whereBorn, target.getWhereBorn());
|
|
|
}
|
|
|
}
|