Added SQL and iterators tests.

This commit is contained in:
Andrey Savchenko committed 2018-02-21 16:12:34 +02:00
1 parent 420305143b
commit 61dd387484
4 files changed
+146

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
<?php
namespace Rarst\Laps\Tests\Record;
use Rarst\Laps\Record\Record_Interface;
class StubRecord implements Record_Interface {
protected $name;
protected $origin;
protected $duration;
public function __construct( $name, $origin, $duration ) {
$this->name = $name;
$this->origin = $origin;
$this->duration = $duration;
}
public function get_name() {
return $this->name;
}
public function get_description() {
}
public function get_origin() {
return $this->origin;
}
public function get_duration() {
return $this->duration;
}
public function get_category() {
}
}