Revision 1ba6c1ad
Added by Andreas Müller over 2 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/AgentServiceImplTest.java | ||
---|---|---|
121 | 121 |
} |
122 | 122 |
Assert.assertEquals("If person was completely empty we don't expect the title cache to be taken from person.nomenclaturalTitle", TeamDefaultCacheStrategy.EMPTY_TEAM, team.getTitleCache()); |
123 | 123 |
Assert.assertFalse("If person was completely empty we don't expect the title cache to be protected", team.isProtectedTitleCache()); |
124 |
Assert.assertEquals("Nom. title must be equal", person2.getNomenclaturalTitleCache(), team.getNomenclaturalTitleCache());
|
|
124 |
Assert.assertEquals("If person was completely empty we expect nom. title to be the empty team constant", TeamDefaultCacheStrategy.EMPTY_TEAM, team.getNomenclaturalTitleCache());
|
|
125 | 125 |
|
126 | 126 |
try{ |
127 | 127 |
service.convertPerson2Team(person2.getUuid()); |
Also available in: Unified diff
ref #9664 fix nomTitleCache test for fully empty person2Team