added App and Commerce to integration test
This commit is contained in:
committed by
Ricky Yim
parent
4fe03485c8
commit
82a665af36
@@ -70,9 +70,11 @@ public class FakerIT {
|
||||
public void testAllFakerMethodsThatReturnStrings() throws Exception {
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker);
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.address());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.app());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.business());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.book());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.color());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.commerce());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.company());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.internet());
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.lorem());
|
||||
@@ -83,7 +85,6 @@ public class FakerIT {
|
||||
testAllMethodsThatReturnStringsActuallyReturnStrings(faker.team());
|
||||
}
|
||||
|
||||
|
||||
private void testAllMethodsThatReturnStringsActuallyReturnStrings(Object object) throws IllegalAccessException, InvocationTargetException {
|
||||
@SuppressWarnings("unchecked")
|
||||
Set<Method> methodsThatReturnStrings = getAllMethods(object.getClass(),
|
||||
|
||||
Reference in New Issue
Block a user