1 package org.orekit.files.ccsds.ndm.odm.ocm;
2
3 import org.hamcrest.MatcherAssert;
4 import org.hamcrest.Matchers;
5 import org.junit.jupiter.api.Test;
6 import org.orekit.files.ccsds.definitions.OrekitCcsdsFrameMapper;
7 import org.orekit.time.AbsoluteDate;
8
9
10
11
12
13
14 public class OrbitPhysicalPropertiesTest {
15
16
17 @Test
18 @Deprecated
19 public void testDeprecatedConstructor() {
20
21 AbsoluteDate epoch = AbsoluteDate.ARBITRARY_EPOCH;
22
23
24 OrbitPhysicalProperties actual = new OrbitPhysicalProperties(epoch);
25
26
27 MatcherAssert.assertThat(actual.getFrameMapper(),
28 Matchers.is(new OrekitCcsdsFrameMapper()));
29 }
30
31 }