Skip to content
Snippets Groups Projects
Commit 17f472fa authored by Christian Wulf's avatar Christian Wulf
Browse files

refactored InstanceOfFilterTest

parent b5210bfe
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,6 @@ import static org.junit.Assert.assertThat; ...@@ -23,7 +23,6 @@ import static org.junit.Assert.assertThat;
import static teetime.framework.test.StageTester.test; import static teetime.framework.test.StageTester.test;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection;
import java.util.List; import java.util.List;
import org.junit.Before; import org.junit.Before;
...@@ -31,8 +30,6 @@ import org.junit.Test; ...@@ -31,8 +30,6 @@ import org.junit.Test;
import teetime.framework.Configuration; import teetime.framework.Configuration;
import teetime.framework.Execution; import teetime.framework.Execution;
import teetime.framework.ExecutionException;
import teetime.util.ThreadThrowableContainer;
/** /**
* @author Nils Christian Ehmke * @author Nils Christian Ehmke
...@@ -111,15 +108,10 @@ public class InstanceOfFilterTest { ...@@ -111,15 +108,10 @@ public class InstanceOfFilterTest {
} }
@Test @Test
public void filterShouldSendToBothOutputPorts() throws Exception { public void filterShouldSendToBothOutputPorts() {
InstanceOfFilterTestConfig config = new InstanceOfFilterTestConfig(); InstanceOfFilterTestConfig config = new InstanceOfFilterTestConfig();
Execution<InstanceOfFilterTestConfig> execution = new Execution<InstanceOfFilterTestConfig>(config); Execution<InstanceOfFilterTestConfig> execution = new Execution<InstanceOfFilterTestConfig>(config);
try { execution.executeBlocking();
execution.executeBlocking();
} catch (ExecutionException e) {
Collection<ThreadThrowableContainer> thrownExceptions = e.getThrownExceptions();
// TODO: handle exception
}
} }
private static class InstanceOfFilterTestConfig extends Configuration { private static class InstanceOfFilterTestConfig extends Configuration {
......
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