Commit c0afff14 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

after simplifiaction this exception is not thrown anymore

parent 0bc2881e
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment