--- /dev/null
+<?php
+
+class FluxDataTest extends FluxData {
+
+ private $flux_info;
+ private $file_list;
+
+ public function __construct(array $flux_info, array $file_list) {
+ $this->flux_info = $flux_info;
+ $this->file_list = $file_list;
+ }
+
+ public function getData($key) {
+ if (isset($this->flux_info[$key])){
+ return $this->flux_info[$key];
+ }
+ return "";
+ }
+
+ public function getFileList() {
+ return $this->file_list;
+ }
+
+ public function getFilename($key) {
+ return $this->getData($key);
+ }
+
+ public function getFileSHA256($key) {
+ return base64_encode(mt_rand(0,mt_getrandmax()));
+ }
+}
\ No newline at end of file