Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
c0afff14
Commit
c0afff14
authored
May 10, 2019
by
Piotr Gawron
Browse files
after simplifiaction this exception is not thrown anymore
parent
0bc2881e
Changes
1
Hide whitespace changes
Inline
Side-by-side
model/src/test/java/lcsb/mapviewer/modelutils/map/ElementUtilsTest.java
View file @
c0afff14
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment