Skip to content
Snippets Groups Projects
Commit c0afff14 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

after simplifiaction this exception is not thrown anymore

parent 0bc2881e
No related branches found
No related tags found
1 merge request!768Resolve "Custom images as overlay levels or background"
......@@ -92,22 +92,6 @@ public class ElementUtilsTest {
}
}
@Test
public void testGetTagForInvalidElement() throws Exception {
try {
ElementUtils elementUtils = new ElementUtils();
BioEntity element = Mockito.mock(BioEntity.class);
assertNotNull(elementUtils.getElementTag(element));
fail("Exception expected");
} catch (NotImplementedException e) {
} catch (Exception e) {
e.printStackTrace();
throw e;
}
}
protected void print(ClassTreeNode top, int indent) {
if (indent > 10) {
throw new InvalidArgumentException();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment