public function testCreateConfigs($typeCount)
{
$files = scandir(realpath(__DIR__ . '/../src/Config'));
$count = 0;
foreach ($files as $file) {
if ($file == '.' || $file == '..' || strpos($file, '.php') === false || strtolower($file) === 'config.php') {
continue;
}
$className = '\\JBZoo\\SimpleTypes\\Config\\' . ucfirst(str_replace('.php', '', $file));
$obj = new $className();
isClass('\\JBZoo\\SimpleTypes\\Config\\Config', $obj);
$count++;
}
is($typeCount, $count, 'Some configs or types are not found');
}