Skip to content
Snippets Groups Projects
Commit da76c7fa authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

created test body

parent f00d362f
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,9 @@ import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import teetime.stage.InitialElementProducer;
import teetime.stage.basic.Sink;
......@@ -121,4 +123,14 @@ public class AnalysisTest {
}
}
}
@Rule
public ExpectedException thrown = ExpectedException.none();
@Test
public void testInstantiatePipesIncorrectConfiguration() {
thrown.expect(IllegalStateException.class);
thrown.expectMessage("Crossing threads");
}
}
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