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

added test method

parent 4f8f3e11
Branches
Tags
No related merge requests found
package teetime.framework.pipe;
import static org.junit.Assert.assertFalse;
import org.junit.Test;
public class SingleElementPipeTest {
@Test(expected = IllegalArgumentException.class)
public void testAdd() throws Exception {
SingleElementPipe pipe = new SingleElementPipe(null, null);
assertFalse(pipe.add(null));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment