1   package org.orekit.files.ccsds.ndm.adm.apm;
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   
8   /**
9    * Unit tests for {@link Inertia}.
10   *
11   * @author Evan Ward
12   */
13  public class InertiaTest {
14  
15  
16      /** Test deprecated constructor. Can be removed in 14.0. */
17      @Test
18      @Deprecated
19      public void testDeprecatedConstructor() {
20          // action
21          Inertia actual = new Inertia();
22  
23          // verify
24          MatcherAssert.assertThat(actual.getFrameMapper(),
25                  Matchers.is(new OrekitCcsdsFrameMapper()));
26      }
27  
28  }