@Before
 public void setUp() {
   sequence = new Sequence();
   sequence.setLength(42);
   Options options = new Options();
   options.setBaseUrl("baseUrl");
   sequence.setOptions(options);
   Markup markup = new Markup();
   markup.setStart(24);
   sequence.setMarkups(ImmutableList.of(markup));
   Map<String, Object> metadata = newHashMap();
   metadata.put("key", "value");
   sequence.setMetadata(metadata);
   Motif motif = new Motif();
   motif.setStart(24);
   sequence.setMotifs(ImmutableList.of(motif));
   Region region = new Region();
   region.setStart(24);
   sequence.setRegions(ImmutableList.of(region));
 }
 @Test
 public void testWithMarkupsNullMarkups() {
   sequence.setMarkups(null);
   Sequence withMarkups = sequence.withMarkups(null);
   assertNull(withMarkups.getMarkups());
 }
 @Test
 public void testDeepCopyNullMarkups() {
   sequence.setMarkups(null);
   Sequence copy = sequence.deepCopy();
   assertNull(copy.getMarkups());
 }