added App and Commerce to integration test

This commit is contained in:
Pascal Schumacher
2016-04-25 12:42:55 +02:00
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(),