/** Test method for {@link com.rtg.mode.TranslatedFrame#display()}. */
 public final void testDisplay() {
   assertEquals("+1", FORWARD1.display());
   assertEquals("+2", FORWARD2.display());
   assertEquals("+3", FORWARD3.display());
   assertEquals("-1", REVERSE1.display());
   assertEquals("-2", REVERSE2.display());
   assertEquals("-3", REVERSE3.display());
 }
 /** Test method for {@link com.rtg.mode.TranslatedFrame#isForward()}. */
 public final void testIsForward() {
   assertTrue(FORWARD1.isForward());
   assertTrue(FORWARD2.isForward());
   assertTrue(FORWARD3.isForward());
   assertFalse(REVERSE1.isForward());
   assertFalse(REVERSE2.isForward());
   assertFalse(REVERSE3.isForward());
 }
 /** Test method for {@link com.rtg.mode.TranslatedFrame#phase()}. */
 public final void testPhase() {
   for (final TranslatedFrame bi : TranslatedFrame.values()) {
     assertTrue(bi.phase() >= 0 && bi.phase() < 3);
   }
   assertEquals(0, FORWARD1.phase());
   assertEquals(1, FORWARD2.phase());
   assertEquals(2, FORWARD3.phase());
   assertEquals(0, REVERSE1.phase());
   assertEquals(1, REVERSE2.phase());
   assertEquals(2, REVERSE3.phase());
 }
 /** Test method for {@link com.rtg.mode.TranslatedFrame}. */
 public final void test() {
   TestUtils.testPseudoEnum(
       TranslatedFrame.class, "[FORWARD1, FORWARD2, FORWARD3, REVERSE1, REVERSE2, REVERSE3]");
   assertEquals(FORWARD1, REVERSE1.getReverse());
   assertEquals(FORWARD2, REVERSE2.getReverse());
   assertEquals(FORWARD3, REVERSE3.getReverse());
   assertEquals(REVERSE1, FORWARD1.getReverse());
   assertEquals(REVERSE2, FORWARD2.getReverse());
   assertEquals(REVERSE3, FORWARD3.getReverse());
   final byte[] codon = TranslatedFrame.populateCodonAminoArray(new DNA[0]);
   assertEquals(512, codon.length);
   for (byte aCodon : codon) {
     assertEquals(-1, aCodon);
   }
 }