1 /*
2  * This file was automatically generated by EvoSuite
3  * Fri Jan 12 12:28:42 GMT 2018
4  */
5 
6 package uk.ac.sanger.artemis.components.genebuilder;
7 
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10 import static org.evosuite.runtime.EvoAssertions.*;
11 import java.awt.HeadlessException;
12 import java.awt.List;
13 import java.awt.datatransfer.Clipboard;
14 import java.util.HashSet;
15 import java.util.Set;
16 import javax.swing.JFrame;
17 import org.biojava.bio.symbol.DoubleAlphabet;
18 import org.biojava.ontology.Ontology;
19 import org.biojava.ontology.Term;
20 import org.evosuite.runtime.EvoRunner;
21 import org.evosuite.runtime.EvoRunnerParameters;
22 import org.junit.runner.RunWith;
23 import uk.ac.sanger.artemis.Entry;
24 import uk.ac.sanger.artemis.EntryGroup;
25 import uk.ac.sanger.artemis.FeaturePredicate;
26 import uk.ac.sanger.artemis.FeatureVector;
27 import uk.ac.sanger.artemis.FilteredEntryGroup;
28 import uk.ac.sanger.artemis.Selection;
29 import uk.ac.sanger.artemis.SimpleEntryGroup;
30 import uk.ac.sanger.artemis.SimpleGotoEventSource;
31 import uk.ac.sanger.artemis.chado.FeatureForUpdatingResidues;
32 import uk.ac.sanger.artemis.components.genebuilder.GeneUtils;
33 import uk.ac.sanger.artemis.io.BlastEntryInformation;
34 import uk.ac.sanger.artemis.io.ChadoCanonicalGene;
35 import uk.ac.sanger.artemis.io.EmblStreamFeature;
36 import uk.ac.sanger.artemis.io.Feature;
37 import uk.ac.sanger.artemis.io.GFFStreamFeature;
38 import uk.ac.sanger.artemis.io.Key;
39 import uk.ac.sanger.artemis.io.MSPcrunchDocumentEntry;
40 import uk.ac.sanger.artemis.io.Range;
41 import uk.ac.sanger.artemis.io.RangeVector;
42 import uk.ac.sanger.artemis.io.RawStreamSequence;
43 import uk.ac.sanger.artemis.io.Sequence;
44 import uk.ac.sanger.artemis.sequence.Bases;
45 
46 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true, useJEE = true)
47 public class GeneUtils_ESTest extends GeneUtils_ESTest_scaffolding {
48 
49   @Test(timeout = 4000)
test00()50   public void test00()  throws Throwable  {
51       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
52       // Undeclared exception!
53       try {
54         GeneUtils.promptForUniquename((EntryGroup) simpleEntryGroup0, false, (Range) null);
55         fail("Expecting exception: NullPointerException");
56 
57       } catch(NullPointerException e) {
58          //
59          // no message in exception (getMessage() returned null)
60          //
61          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
62       }
63   }
64 
65   @Test(timeout = 4000)
test01()66   public void test01()  throws Throwable  {
67       boolean boolean0 = GeneUtils.isHiddenFeature("pseudogenic_transcript");
68       assertTrue(boolean0);
69   }
70 
71   @Test(timeout = 4000)
test02()72   public void test02()  throws Throwable  {
73       boolean boolean0 = GeneUtils.isFeatureToUpdateResidues("^< ^");
74       assertFalse(boolean0);
75   }
76 
77   @Test(timeout = 4000)
test03()78   public void test03()  throws Throwable  {
79       // Undeclared exception!
80       try {
81         GeneUtils.showHideGeneFeatures((FeatureVector) null);
82         fail("Expecting exception: NullPointerException");
83 
84       } catch(NullPointerException e) {
85          //
86          // no message in exception (getMessage() returned null)
87          //
88          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
89       }
90   }
91 
92   @Test(timeout = 4000)
test04()93   public void test04()  throws Throwable  {
94       HashSet<List> hashSet0 = new HashSet<List>();
95       // Undeclared exception!
96       try {
97         GeneUtils.propagateId((GFFStreamFeature) null, "GO", hashSet0);
98         fail("Expecting exception: NullPointerException");
99 
100       } catch(NullPointerException e) {
101          //
102          // no message in exception (getMessage() returned null)
103          //
104          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
105       }
106   }
107 
108   @Test(timeout = 4000)
test05()109   public void test05()  throws Throwable  {
110       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
111       // Undeclared exception!
112       try {
113         GeneUtils.promptForUniquename((EntryGroup) simpleEntryGroup0, false);
114         fail("Expecting exception: NullPointerException");
115 
116       } catch(NullPointerException e) {
117          //
118          // no message in exception (getMessage() returned null)
119          //
120          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
121       }
122   }
123 
124   @Test(timeout = 4000)
test06()125   public void test06()  throws Throwable  {
126       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
127       // Undeclared exception!
128       try {
129         GeneUtils.isStrandOK(chadoCanonicalGene0);
130         fail("Expecting exception: NullPointerException");
131 
132       } catch(NullPointerException e) {
133          //
134          // no message in exception (getMessage() returned null)
135          //
136          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
137       }
138   }
139 
140   @Test(timeout = 4000)
test07()141   public void test07()  throws Throwable  {
142       // Undeclared exception!
143       try {
144         GeneUtils.isObsolete((GFFStreamFeature) null);
145         fail("Expecting exception: NullPointerException");
146 
147       } catch(NullPointerException e) {
148          //
149          // no message in exception (getMessage() returned null)
150          //
151          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
152       }
153   }
154 
155   @Test(timeout = 4000)
test08()156   public void test08()  throws Throwable  {
157       // Undeclared exception!
158       try {
159         GeneUtils.isNonCodingTranscripts((Key) null);
160         fail("Expecting exception: NullPointerException");
161 
162       } catch(NullPointerException e) {
163          //
164          // no message in exception (getMessage() returned null)
165          //
166          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
167       }
168   }
169 
170   @Test(timeout = 4000)
test09()171   public void test09()  throws Throwable  {
172       // Undeclared exception!
173       try {
174         GeneUtils.isGFFEntry((EntryGroup) null);
175         fail("Expecting exception: NullPointerException");
176 
177       } catch(NullPointerException e) {
178          //
179          // no message in exception (getMessage() returned null)
180          //
181          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
182       }
183   }
184 
185   @Test(timeout = 4000)
test10()186   public void test10()  throws Throwable  {
187       // Undeclared exception!
188       try {
189         GeneUtils.isDatabaseEntry((Feature) null);
190         fail("Expecting exception: NullPointerException");
191 
192       } catch(NullPointerException e) {
193          //
194          // no message in exception (getMessage() returned null)
195          //
196          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
197       }
198   }
199 
200   @Test(timeout = 4000)
test11()201   public void test11()  throws Throwable  {
202       // Undeclared exception!
203       try {
204         GeneUtils.isDatabaseEntry((EntryGroup) null);
205         fail("Expecting exception: NullPointerException");
206 
207       } catch(NullPointerException e) {
208          //
209          // no message in exception (getMessage() returned null)
210          //
211          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
212       }
213   }
214 
215   @Test(timeout = 4000)
test12()216   public void test12()  throws Throwable  {
217       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
218       // Undeclared exception!
219       try {
220         GeneUtils.isBoundaryOK(chadoCanonicalGene0);
221         fail("Expecting exception: NullPointerException");
222 
223       } catch(NullPointerException e) {
224          //
225          // no message in exception (getMessage() returned null)
226          //
227          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
228       }
229   }
230 
231   @Test(timeout = 4000)
test13()232   public void test13()  throws Throwable  {
233       // Undeclared exception!
234       try {
235         GeneUtils.getFeatureForUpdatingResidues((GFFStreamFeature) null);
236         fail("Expecting exception: NullPointerException");
237 
238       } catch(NullPointerException e) {
239          //
240          // no message in exception (getMessage() returned null)
241          //
242          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
243       }
244   }
245 
246   @Test(timeout = 4000)
test14()247   public void test14()  throws Throwable  {
248       HashSet<MSPcrunchDocumentEntry> hashSet0 = new HashSet<MSPcrunchDocumentEntry>(28);
249       hashSet0.add((MSPcrunchDocumentEntry) null);
250       // Undeclared exception!
251       try {
252         GeneUtils.fixParentQualifier("", "", hashSet0);
253         fail("Expecting exception: NullPointerException");
254 
255       } catch(NullPointerException e) {
256          //
257          // no message in exception (getMessage() returned null)
258          //
259          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
260       }
261   }
262 
263   @Test(timeout = 4000)
test15()264   public void test15()  throws Throwable  {
265       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
266       GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature(emblStreamFeature0, false);
267       // Undeclared exception!
268       try {
269         GeneUtils.deriveResidues(gFFStreamFeature0);
270         fail("Expecting exception: NullPointerException");
271 
272       } catch(NullPointerException e) {
273          //
274          // no message in exception (getMessage() returned null)
275          //
276          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
277       }
278   }
279 
280   @Test(timeout = 4000)
test16()281   public void test16()  throws Throwable  {
282       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
283       // Undeclared exception!
284       try {
285         GeneUtils.deleteAllFeature((uk.ac.sanger.artemis.Feature) null, chadoCanonicalGene0, true);
286         fail("Expecting exception: NullPointerException");
287 
288       } catch(NullPointerException e) {
289          //
290          // no message in exception (getMessage() returned null)
291          //
292          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
293       }
294   }
295 
296   @Test(timeout = 4000)
test17()297   public void test17()  throws Throwable  {
298       // Undeclared exception!
299       try {
300         GeneUtils.defineShowHideGeneFeatures((FeatureVector) null);
301         fail("Expecting exception: NullPointerException");
302 
303       } catch(NullPointerException e) {
304          //
305          // no message in exception (getMessage() returned null)
306          //
307          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
308       }
309   }
310 
311   @Test(timeout = 4000)
test18()312   public void test18()  throws Throwable  {
313       Clipboard clipboard0 = new Clipboard("B`,hixP-sjxMSG'Ag");
314       Selection selection0 = new Selection(clipboard0);
315       FeatureVector featureVector0 = selection0.getAllFeatures();
316       // Undeclared exception!
317       try {
318         GeneUtils.defineShowHideGeneFeatures(featureVector0);
319         fail("Expecting exception: IndexOutOfBoundsException");
320 
321       } catch(IndexOutOfBoundsException e) {
322          //
323          // Index: 0, Size: 0
324          //
325          verifyException("java.util.ArrayList", e);
326       }
327   }
328 
329   @Test(timeout = 4000)
test19()330   public void test19()  throws Throwable  {
331       Clipboard clipboard0 = new Clipboard((String) null);
332       Selection selection0 = new Selection(clipboard0);
333       SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource((EntryGroup) null);
334       // Undeclared exception!
335       try {
336         GeneUtils.createGeneModel((JFrame) null, selection0, (EntryGroup) null, simpleGotoEventSource0);
337         fail("Expecting exception: HeadlessException");
338 
339       } catch(HeadlessException e) {
340          //
341          // no message in exception (getMessage() returned null)
342          //
343          verifyException("java.awt.GraphicsEnvironment", e);
344       }
345   }
346 
347   @Test(timeout = 4000)
test20()348   public void test20()  throws Throwable  {
349       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
350       // Undeclared exception!
351       try {
352         GeneUtils.convertPseudo(chadoCanonicalGene0);
353         fail("Expecting exception: NullPointerException");
354 
355       } catch(NullPointerException e) {
356          //
357          // no message in exception (getMessage() returned null)
358          //
359          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
360       }
361   }
362 
363   @Test(timeout = 4000)
test21()364   public void test21()  throws Throwable  {
365       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
366       // Undeclared exception!
367       try {
368         GeneUtils.checkTranscriptBoundary((uk.ac.sanger.artemis.Feature) null, chadoCanonicalGene0, true);
369         fail("Expecting exception: NullPointerException");
370 
371       } catch(NullPointerException e) {
372          //
373          // no message in exception (getMessage() returned null)
374          //
375          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
376       }
377   }
378 
379   @Test(timeout = 4000)
test22()380   public void test22()  throws Throwable  {
381       // Undeclared exception!
382       try {
383         GeneUtils.checkGeneBoundary((ChadoCanonicalGene) null, false);
384         fail("Expecting exception: NullPointerException");
385 
386       } catch(NullPointerException e) {
387          //
388          // no message in exception (getMessage() returned null)
389          //
390          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
391       }
392   }
393 
394   @Test(timeout = 4000)
test23()395   public void test23()  throws Throwable  {
396       // Undeclared exception!
397       try {
398         GeneUtils.addLazyQualifiers((GFFStreamFeature) null);
399         fail("Expecting exception: NullPointerException");
400 
401       } catch(NullPointerException e) {
402          //
403          // no message in exception (getMessage() returned null)
404          //
405          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
406       }
407   }
408 
409   @Test(timeout = 4000)
test24()410   public void test24()  throws Throwable  {
411       boolean boolean0 = GeneUtils.isFeatureToUpdateResidues("snRNA");
412       assertTrue(boolean0);
413   }
414 
415   @Test(timeout = 4000)
test25()416   public void test25()  throws Throwable  {
417       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
418       GeneUtils.checkGeneBoundary(chadoCanonicalGene0, true);
419       assertEquals(0, chadoCanonicalGene0.getSeqlen());
420   }
421 
422   @Test(timeout = 4000)
test26()423   public void test26()  throws Throwable  {
424       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
425       GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature(emblStreamFeature0, false);
426       FeatureForUpdatingResidues featureForUpdatingResidues0 = GeneUtils.getFeatureForUpdatingResidues(gFFStreamFeature0);
427       assertNull(featureForUpdatingResidues0);
428   }
429 
430   @Test(timeout = 4000)
test27()431   public void test27()  throws Throwable  {
432       Key key0 = new Key("rRNA");
433       boolean boolean0 = GeneUtils.isNonCodingTranscripts(key0);
434       assertTrue(boolean0);
435   }
436 
437   @Test(timeout = 4000)
test28()438   public void test28()  throws Throwable  {
439       BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
440       Key key0 = blastEntryInformation0.getDefaultKey();
441       boolean boolean0 = GeneUtils.isNonCodingTranscripts(key0);
442       assertFalse(boolean0);
443   }
444 
445   @Test(timeout = 4000)
test29()446   public void test29()  throws Throwable  {
447       DoubleAlphabet.SubDoubleAlphabet doubleAlphabet_SubDoubleAlphabet0 = DoubleAlphabet.getSubAlphabet((-3098.8628421022263), (-3098.8628421022263));
448       DoubleAlphabet.DoubleSymbol doubleAlphabet_DoubleSymbol0 = doubleAlphabet_SubDoubleAlphabet0.getSymbol((-3098.8628421022263));
449       Set set0 = doubleAlphabet_DoubleSymbol0.getBases();
450       // Undeclared exception!
451       try {
452         GeneUtils.fixParentQualifier("\"dD", "  \"4P2", set0);
453         fail("Expecting exception: ClassCastException");
454 
455       } catch(ClassCastException e) {
456          //
457          // org.biojava.bio.symbol.DoubleAlphabet$DoubleSymbol cannot be cast to uk.ac.sanger.artemis.io.Feature
458          //
459          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
460       }
461   }
462 
463   @Test(timeout = 4000)
test30()464   public void test30()  throws Throwable  {
465       Ontology.Impl ontology_Impl0 = new Ontology.Impl("pseudogenic_transcript", "pseudogenic_transcript");
466       Set set0 = ontology_Impl0.getTriples((Term) null, (Term) null, (Term) null);
467       GeneUtils.fixParentQualifier("pseudogenic_transcript", "pseudogenic_transcript", set0);
468       assertEquals(0, set0.size());
469   }
470 
471   @Test(timeout = 4000)
test31()472   public void test31()  throws Throwable  {
473       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
474       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
475       uk.ac.sanger.artemis.Feature feature0 = new uk.ac.sanger.artemis.Feature(emblStreamFeature0);
476       // Undeclared exception!
477       try {
478         GeneUtils.checkTranscriptBoundary(feature0, chadoCanonicalGene0, true);
479         fail("Expecting exception: HeadlessException");
480 
481       } catch(HeadlessException e) {
482          //
483          // no message in exception (getMessage() returned null)
484          //
485          verifyException("java.awt.GraphicsEnvironment", e);
486       }
487   }
488 
489   @Test(timeout = 4000)
test32()490   public void test32()  throws Throwable  {
491       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
492       boolean boolean0 = GeneUtils.isDatabaseEntry((Feature) emblStreamFeature0);
493       assertFalse(boolean0);
494   }
495 
496   @Test(timeout = 4000)
test33()497   public void test33()  throws Throwable  {
498       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
499       FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, (FeaturePredicate) null, "pseudogenic_exon");
500       filteredEntryGroup0.createEntry("pseudogenic_exon");
501       boolean boolean0 = GeneUtils.isGFFEntry(simpleEntryGroup0);
502       assertFalse(boolean0);
503   }
504 
505   @Test(timeout = 4000)
test34()506   public void test34()  throws Throwable  {
507       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
508       FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, (FeaturePredicate) null, "pseudogenic_exon");
509       filteredEntryGroup0.createEntry("pseudogenic_exon");
510       boolean boolean0 = GeneUtils.isDatabaseEntry((EntryGroup) simpleEntryGroup0);
511       assertFalse(boolean0);
512   }
513 
514   @Test(timeout = 4000)
test35()515   public void test35()  throws Throwable  {
516       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
517       FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, (FeatureVector) null, ")~GP_nC!");
518       Bases bases0 = new Bases((Sequence) null);
519       Entry entry0 = Entry.newEntry(bases0);
520       filteredEntryGroup0.add(entry0);
521       String string0 = GeneUtils.promptForUniquename((EntryGroup) simpleEntryGroup0, false);
522       assertNull(string0);
523   }
524 
525   @Test(timeout = 4000)
test36()526   public void test36()  throws Throwable  {
527       RawStreamSequence rawStreamSequence0 = new RawStreamSequence("}8ZH.E,]W/");
528       Bases bases0 = new Bases(rawStreamSequence0);
529       SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
530       FeatureVector featureVector0 = new FeatureVector();
531       FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "hm q<b%?4iS6=7\"a");
532       Entry entry0 = filteredEntryGroup0.createEntry();
533       uk.ac.sanger.artemis.Feature feature0 = filteredEntryGroup0.createFeature();
534       Range range0 = feature0.getMaxRawRange();
535       FeatureVector featureVector1 = entry0.getFeaturesInRange(range0);
536       GeneUtils.showHideGeneFeatures(featureVector1);
537       assertNotSame(featureVector1, featureVector0);
538   }
539 
540   @Test(timeout = 4000)
test37()541   public void test37()  throws Throwable  {
542       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
543       GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature(emblStreamFeature0);
544       Clipboard clipboard0 = new Clipboard((String) null);
545       Selection selection0 = new Selection(clipboard0);
546       RangeVector rangeVector0 = selection0.getSelectionRanges();
547       Range range0 = new Range(1265, 1265);
548       rangeVector0.add(range0);
549       GeneUtils.addSegment(gFFStreamFeature0, rangeVector0, "Y\"Z*kug)qJ");
550       assertFalse(rangeVector0.isEmpty());
551   }
552 
553   @Test(timeout = 4000)
test38()554   public void test38()  throws Throwable  {
555       GeneUtils.complementGeneModel((ChadoCanonicalGene) null);
556   }
557 
558   @Test(timeout = 4000)
test39()559   public void test39()  throws Throwable  {
560       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
561       // Undeclared exception!
562       try {
563         GeneUtils.complementGeneModel(chadoCanonicalGene0);
564         fail("Expecting exception: NullPointerException");
565 
566       } catch(NullPointerException e) {
567          //
568          // no message in exception (getMessage() returned null)
569          //
570          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
571       }
572   }
573 
574   @Test(timeout = 4000)
test40()575   public void test40()  throws Throwable  {
576       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
577       GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature(emblStreamFeature0, false);
578       GeneUtils.addLazyQualifiers(gFFStreamFeature0);
579       assertTrue(gFFStreamFeature0.isVisible());
580   }
581 
582   @Test(timeout = 4000)
test41()583   public void test41()  throws Throwable  {
584       EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
585       GFFStreamFeature gFFStreamFeature0 = new GFFStreamFeature(emblStreamFeature0, false);
586       gFFStreamFeature0.setLazyLoaded(true);
587       GeneUtils.addLazyQualifiers(gFFStreamFeature0);
588       assertFalse(gFFStreamFeature0.isReadOnly());
589   }
590 
591   @Test(timeout = 4000)
test42()592   public void test42()  throws Throwable  {
593       boolean boolean0 = GeneUtils.isHiddenFeature("17~8S8Q,x$FDm5\"zx7&");
594       assertFalse(boolean0);
595   }
596 
597   @Test(timeout = 4000)
test43()598   public void test43()  throws Throwable  {
599       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
600       // Undeclared exception!
601       try {
602         GeneUtils.deleteAllFeature((uk.ac.sanger.artemis.Feature) null, chadoCanonicalGene0);
603         fail("Expecting exception: NullPointerException");
604 
605       } catch(NullPointerException e) {
606          //
607          // no message in exception (getMessage() returned null)
608          //
609          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
610       }
611   }
612 
613   @Test(timeout = 4000)
test44()614   public void test44()  throws Throwable  {
615       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
616       GeneUtils.checkGeneBoundary(chadoCanonicalGene0);
617       assertEquals(0, chadoCanonicalGene0.getSrcfeature_id());
618   }
619 
620   @Test(timeout = 4000)
test45()621   public void test45()  throws Throwable  {
622       String[] stringArray0 = GeneUtils.getNonCodingTranscripts();
623       assertNotNull(stringArray0);
624   }
625 
626   @Test(timeout = 4000)
test46()627   public void test46()  throws Throwable  {
628       ChadoCanonicalGene chadoCanonicalGene0 = new ChadoCanonicalGene();
629       // Undeclared exception!
630       try {
631         GeneUtils.checkTranscriptBoundary((uk.ac.sanger.artemis.Feature) null, chadoCanonicalGene0);
632         fail("Expecting exception: NullPointerException");
633 
634       } catch(NullPointerException e) {
635          //
636          // no message in exception (getMessage() returned null)
637          //
638          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
639       }
640   }
641 
642   @Test(timeout = 4000)
test47()643   public void test47()  throws Throwable  {
644       // Undeclared exception!
645       try {
646         GeneUtils.getUniqueName((Feature) null);
647         fail("Expecting exception: NullPointerException");
648 
649       } catch(NullPointerException e) {
650          //
651          // no message in exception (getMessage() returned null)
652          //
653          verifyException("uk.ac.sanger.artemis.components.genebuilder.GeneUtils", e);
654       }
655   }
656 
657   @Test(timeout = 4000)
test48()658   public void test48()  throws Throwable  {
659       GeneUtils geneUtils0 = new GeneUtils();
660   }
661 }
662