Package org.junit.tests.internal.runners

Source Code of org.junit.tests.internal.runners.ErrorReportingRunnerTest

package org.junit.tests.internal.runners;

import org.junit.Test;
import org.junit.internal.runners.ErrorReportingRunner;

public class ErrorReportingRunnerTest {
    @Test(expected = NullPointerException.class)
    public void cannotCreateWithNullClass() {
        new ErrorReportingRunner(null, new RuntimeException());
    }
}
TOP

Related Classes of org.junit.tests.internal.runners.ErrorReportingRunnerTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.