Package org.junit.experimental.theories.suppliers

Examples of org.junit.experimental.theories.suppliers.TestedOnSupplier


    public void foo(@TestedOn(ints = {1}) int x) {
    }

    @Test
    public void descriptionStatesParameterName() throws Exception {
        TestedOnSupplier supplier = new TestedOnSupplier();
        List<PotentialAssignment> assignments = supplier.getValueSources(signatureOfFoo());
        assertThat(assignments.get(0).getDescription(), is("\"1\" <from ints>"));
    }
View Full Code Here

TOP

Related Classes of org.junit.experimental.theories.suppliers.TestedOnSupplier

Copyright © 2018 www.massapicom. 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.