@Test public void getSearchMetadataTest() { SearchMetadaTag searchMetadaTag = searchMetadaTagRepository.getSearchMetadaTag(); assertNotNull(searchMetadaTag); LOGGER.info(searchMetadaTag.toString()); assertTrue(searchMetadaTag.getMetadata().size() > 0); }
@Test public void removeSearchMetadataTest() { SearchMetadaTag searchMetadaTag = searchMetadaTagRepository.removeSearchMetadata(metadata); assertNotNull(searchMetadaTag); LOGGER.info(searchMetadaTag.toString()); assertTrue(!searchMetadaTag.getMetadata().contains(metadata)); }