Created
September 7, 2018 21:03
-
-
Save ParasoftExamples/85f9efae920bae0881b1f1fdfa93ed1e to your computer and use it in GitHub Desktop.
Junit Parameterized Tests Example 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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