Revision ff5a67fc
Added by Andreas Müller over 6 years ago
cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/taxon/TaxonBaseTest.java | ||
---|---|---|
156 | 156 |
freeT.setSec(secRef); |
157 | 157 |
freeT.setName(test); |
158 | 158 |
Taxon clone = (Taxon)freeT.clone(); |
159 |
assertSame(freeT.getSec(), clone.getSec()); |
|
159 |
assertSame(freeT.getSec(), clone.getSec()); //this was assertNull first, but we realized that it is not intuitive to remove the sec when cloning.
|
|
160 | 160 |
assertSame(freeT.getName(), clone.getName()); |
161 | 161 |
} |
162 | 162 |
|
Also available in: Unified diff
minor