Sha256: a74796eb0eb3271d6b1bc4172d0a7d29a6132d9d0a855b67490ff0127a93e6ce

Contents?: true

Size: 469 Bytes

Versions: 11

Compression:

Stored size: 469 Bytes

Contents

package com.xnlogic.pacer.pipes;

import java.util.ArrayList;
import java.util.NoSuchElementException;

import org.junit.Test;

public class NeverPipeTest {
    @Test(expected=NoSuchElementException.class)
    public void ensureExceptionTest() {
        NeverPipe neverPipe = new NeverPipe();
        ArrayList<Object> starts = new ArrayList<Object>();
        starts.add(new Object());
        neverPipe.setStarts(starts.iterator());
        neverPipe.next();
    }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pacer-2.0.24-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.22-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.20-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.19-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.18-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.17-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.16-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.15-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.14-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.13-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java
pacer-2.0.12-java ext/src/test/java/com/xnlogic/pacer/pipes/NeverPipeTest.java