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   * Unit tests for {@link OrbitPhysicalProperties}.
11   *
12   * @author Evan Ward
13   */
14  public class OrbitPhysicalPropertiesTest {
15  
16      /** Test deprecated constructor. Can be removed in 14.0. */
17      @Test
18      @Deprecated
19      public void testDeprecatedConstructor() {
20          // setup
21          AbsoluteDate epoch = AbsoluteDate.ARBITRARY_EPOCH;
22  
23          // action
24          OrbitPhysicalProperties actual = new OrbitPhysicalProperties(epoch);
25  
26          // verify
27          MatcherAssert.assertThat(actual.getFrameMapper(),
28                  Matchers.is(new OrekitCcsdsFrameMapper()));
29      }
30  
31  }