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