import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
-import java.util.Arrays;
import java.util.List;
import java.util.Set;
* xref to self : 1
* protein products: 8
*/
- List<DBRefEntry> dbrefs = Arrays.asList(seq.getDBRefs());
+ List<DBRefEntry> dbrefs = seq.getDBRefs();
assertEquals(dbrefs.size(), 9);
// xref to 'self':
assertEquals(dbref.getSource(), "EMBLCDSPROTEIN");
assertEquals(dbref.getAccessionId(), "AAA91574.1");
mapping = dbref.getMap();
- mapTo = mapping.getTo();
+ mapTo = mapping.getTo();
assertEquals(mapTo.getName(), "AAA91574.1");
// the /product qualifier transfers to protein product description
assertEquals(mapTo.getDescription(), "hypothetical protein");