Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Junit Parameterized Tests Example 4
@Parameters(name = "Run {index}: loanAmount={0}, downPayment={1}, availableFunds={2}, expectApproved={3}, expectedMessage={4}")
public static Iterable<Object[]> data() throws Throwable
return Arrays.asList(new Object[][] {
{ 1000.0f, 200.0f, 250.0f, true, null }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment