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 SpinStabilized}.
10   *
11   * @author Evan Ward
12   */
13  public class SpinStabilizedTest {
14  
15      /** Test deprecated constructor. Can be removed in 14.0. */
16      @Test
17      @Deprecated
18      public void testDeprecatedConstructor() {
19          // action
20          SpinStabilized actual = new SpinStabilized();
21  
22          // verify
23          MatcherAssert.assertThat(actual.getEndpoints().getFrameMapper(),
24                  Matchers.is(new OrekitCcsdsFrameMapper()));
25      }
26  
27  }