1 | <?php |
||
17 | class TestMarkerModel extends TestCase { |
||
18 | |||
19 | /** |
||
20 | * @var Marker_Model |
||
21 | */ |
||
22 | private $_model; |
||
23 | |||
24 | /** |
||
25 | * @var Mock |
||
26 | */ |
||
27 | private $_geocoder; |
||
28 | |||
29 | /** |
||
30 | * @var array |
||
31 | */ |
||
32 | private $_position = array( 'lat' => 37.4224764, 'lng' => -122.0842499); |
||
33 | |||
34 | public function setUp() { |
||
44 | |||
45 | |||
46 | /** |
||
47 | * @covers ::latitude |
||
48 | */ |
||
49 | public function testLatitude() { |
||
52 | |||
53 | /** |
||
54 | * @covers ::longitude |
||
55 | */ |
||
56 | public function testLongitude() { |
||
59 | |||
60 | /** |
||
61 | * @covers ::_geocoder |
||
62 | */ |
||
63 | public function testGeocoder() { |
||
66 | |||
67 | /** |
||
68 | * @covers ::_geocoder |
||
69 | */ |
||
70 | public function testCreateGeocoder() { |
||
74 | |||
75 | /** |
||
76 | * @covers ::position |
||
77 | */ |
||
78 | public function testPosition() { |
||
81 | |||
82 | /** |
||
83 | * @covers ::title |
||
84 | */ |
||
85 | public function testTitle() { |
||
88 | |||
89 | public function testMarkerArgs() { |
||
100 | } |
||
101 |