public class PDBSequenceFetcherTest
{
+ SequenceFetcher sf;
@Before
public void setUp() throws Exception
{
+ sf = new SequenceFetcher(false);
}
@Test
+ public void testPdbPerChainRetrieve() throws Exception
+ {
+ List<DbSourceProxy> sps = sf
+ .getSourceProxy("PDB");
+ AlignmentI response = sps.get(0).getSequenceRecords("1QIPA");
+ assertTrue(response!=null);
+ assertTrue(response.getHeight()==1);
+ }
+ @Test
public void testRnaSeqRetrieve() throws Exception
{
- List<DbSourceProxy> sps = new SequenceFetcher(false)
+ List<DbSourceProxy> sps = sf
.getSourceProxy("PDB");
AlignmentI response = sps.get(0).getSequenceRecords("2GIS");
assertTrue(response!=null);