### Question:
UniProtConnection { public UniProtEntry getEntry(String uniProtId) throws NoMatchFoundException, ServiceException { UniProtEntry entry = uniProtService.getEntry(uniProtId); if (entry==null) throw new NoMatchFoundException("No UniProt entry found for UniProt id "+uniProtId); return entry; } UniProtConnection(); UniProtEntry getEntry(String uniProtId); UniParcEntry getUniparcEntry(String uniparcId); UnirefEntry getUnirefEntry(String uniProtId); UnirefEntry getUnirefEntryWithRetry(String uniProtId); QueryResult<UniProtEntry> getMultipleEntries(List<String> idsList); List<UnirefEntry> getMultipleUnirefEntries(List<String> uniprotIds); HashSet<String> getNonReturnedIdsLastMultipleRequest(); String getVersion(); void close();  }### Answer:
@Test public void testGetUniProt() throws NoMatchFoundException, ServiceException { String upid = "P30340"; UniProtConnection upc = new UniProtConnection(); UniProtEntry entry = upc.getEntry(upid); assertEquals("SMTB_SYNE7", entry.getUniProtId().getValue()); assertEquals(122, entry.getSequence().getLength()); }