1 | <?php |
||
16 | abstract class LumenTestCase extends TestCase |
||
17 | { |
||
18 | use ReflectionMethods; |
||
19 | use OnlyTestLogging; |
||
20 | |||
21 | //<editor-fold desc="Protected Methods"> |
||
22 | |||
23 | /** |
||
24 | * Checks for a given object if the given properties got set correctly by the query data. |
||
25 | * @param mixed[] $data the request data |
||
26 | * @param mixed $object the object whose properties to check |
||
27 | * @param mixed[] $properties the properties to check, property name maps to the default value (if not set in request) |
||
28 | * @param mixed[] $enumProperties the enum properties to check, property name maps to an info array, which contains |
||
29 | * the enum name and the default value |
||
30 | */ |
||
31 | protected function checkProperties(array $data, $object, array $properties, array $enumProperties = []) |
||
67 | //</editor-fold desc="Protected Methods"> |
||
68 | } |
||
69 |