package jalview.ws.dbsources;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
+import jalview.datamodel.AlignmentI;
+import jalview.datamodel.PDBEntry;
+import jalview.datamodel.SequenceFeature;
+import jalview.datamodel.UniprotEntry;
import java.io.Reader;
import java.io.StringReader;
import org.junit.Test;
-import jalview.datamodel.PDBEntry;
-import jalview.datamodel.SequenceFeature;
-import jalview.datamodel.UniprotEntry;
-
public class UniprotTest
{
// adapted from http://www.uniprot.org/uniprot/A9CKP4.xml
assertEquals(expectedName, Uniprot.constructSequenceFastaHeader(entry)
.toString());
}
+
+ @Test
+ public void testuniref90_retrieve() throws Exception
+ {
+ AlignmentI rtn = new Uniprot().getSequenceRecords("UniRef90_V5TUP6");
+ assertNotNull(rtn);
+ assertEquals(rtn.getHeight(), 1);
+ }
}