Skip to content

Commit

Permalink
Register the expected resource
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Dec 30, 2024
1 parent 2532a86 commit d75afa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions org.bridgedb/src/test/java/org/bridgedb/DataSourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@ public void testBioregistry() {

@Test
public void testFullNameExists() {
DataSource.register("S", "UniProtKB")
.bioregistryPrefix("uniprot")
.asDataSource();
assertTrue(DataSource.fullNameExists("Uniprot-TrEMBL"));;
assertTrue(DataSource.fullNameExists("Uniprot-SwissProt"));;
assertTrue(DataSource.fullNameExists("UniProtKB"));;
Expand Down

0 comments on commit d75afa2

Please sign in to comment.