Project

General

Profile

« Previous | Next » 

Revision 55d06011

Added by Andreas Müller over 2 years ago

cleanup

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/reference/OriginalSourceTypeTest.java
1 1
/**
2
 * 
3
 */
2
* Copyright (C) 2021 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
4 9
package eu.etaxonomy.cdm.model.reference;
5 10

  
6
import static org.junit.Assert.*;
7

  
11
import static org.junit.Assert.assertSame;
8 12

  
9 13
import org.junit.Before;
10 14
import org.junit.Test;
11 15

  
12
import eu.etaxonomy.cdm.model.reference.OriginalSourceType;
13

  
14 16
/**
15 17
 * @author a.mueller
16 18
 * @since 6.6.2013
17
 *
18 19
 */
19 20
public class OriginalSourceTypeTest {
20 21

  
21
	/**
22
	 * @throws java.lang.Exception
23
	 */
24 22
	@Before
25 23
	public void setUp() throws Exception {
26 24
	}
27 25

  
28
	
29 26
	@Test
30 27
	public void testKindOf(){
31 28
		assertSame(OriginalSourceType.Lineage, OriginalSourceType.Import.getKindOf());
32 29
		assertSame(OriginalSourceType.Lineage, OriginalSourceType.Transformation.getKindOf());
33 30
		assertSame(OriginalSourceType.Lineage, OriginalSourceType.Aggregation.getKindOf());
34 31
	}
35

  
36
}
32
}

Also available in: Unified diff