Class BICTests
- java.lang.Object
-
- de.powerstat.validation.values.test.BICTests
-
public class BICTests extends Object
BIC Tests.
-
-
Constructor Summary
Constructors Constructor Description BICTests()Default constructor.
-
Method Summary
Modifier and Type Method Description voidbicCorrect(String bic)Test correct BIC.voidbicLength(String bic)Test BIC with wrong lengths.voidbicWrong(String bic)Test wrong BIC.voidgetBic()Test get bic.voidtestCompareTo()Test compareTo.voidtestEquals()Test equals.voidtestHashCode()Test hash code.voidtestToString()Test toString.
-
-
-
Method Detail
-
bicCorrect
@ParameterizedTest @ValueSource(strings={"POWSDE30XXX","POWSDE30"}) public void bicCorrect(String bic)Test correct BIC.- Parameters:
bic- BIC
-
bicLength
@ParameterizedTest @ValueSource(strings={"POWSDE0","POWSDE30X","POWSDE30XX","POWSDE30XXXX"}) public void bicLength(String bic)Test BIC with wrong lengths.- Parameters:
bic- BIC
-
bicWrong
@ParameterizedTest @ValueSource(strings={"POWSDE10XXX","POWSZZ30XXX"}) public void bicWrong(String bic)Test wrong BIC.- Parameters:
bic- BIC
-
getBic
@Test public void getBic()
Test get bic.
-
testHashCode
@Test public void testHashCode()
Test hash code.
-
testEquals
@Test public void testEquals()
Test equals.
-
testToString
@Test public void testToString()
Test toString.
-
testCompareTo
@Test public void testCompareTo()
Test compareTo.
-
-