|
@@ -60,15 +60,15 @@ |
|
|
block discarded – undo |
|
60
|
60
|
{ |
|
61
|
61
|
return [ |
|
62
|
62
|
// key parsed key expected |
|
63
|
|
- 'Noun without index returns most recent noun' => [StoreTest::KEY, [[StoreTest::KEY, null]], StoreTest::$MOST_RECENT_VALUE], |
|
64
|
|
- 'Noun with index returns specific noun' => ['1st ' . StoreTest::KEY, [[StoreTest::KEY, 0]], StoreTest::$FIRST_VALUE], |
|
65
|
|
- 'Non-existent noun returns null' => ['3rd ' . StoreTest::KEY, [[StoreTest::KEY, 2]], null], |
|
66
|
|
- 'Possessive noun w/o index string property' => [StoreTest::KEY . "'s color", [[StoreTest::KEY, null], ['color', null]], 'Blue'], |
|
67
|
|
- 'Possessive noun with index string property' => ['1st ' . StoreTest::KEY . "'s color", [[StoreTest::KEY, 0], ['color', null]], 'Red'], |
|
68
|
|
- 'Possessive noun w/o index collection w/o index' => [StoreTest::KEY . "'s option", [[StoreTest::KEY, null], ['option', null]], 'Air Conditioning'], |
|
69
|
|
- 'Possessive noun with index collection w/o index' => ['1st ' . StoreTest::KEY . "'s option", [[StoreTest::KEY, 0], ['option', null]], 'Heated Seats'], |
|
70
|
|
- 'Possessive noun w/o index collection with index' => [StoreTest::KEY . "'s 1st option", [[StoreTest::KEY, null], ['option', 0]], 'Cruise Control'], |
|
71
|
|
- 'Possessive noun with index collection with index' => ['1st ' . StoreTest::KEY . "'s 1st option", [[StoreTest::KEY, 0], ['option', 0]], 'GPS'], |
|
|
63
|
+ 'Noun without index returns most recent noun' => [StoreTest::KEY, [[StoreTest::KEY, null]], StoreTest::$MOST_RECENT_VALUE], |
|
|
64
|
+ 'Noun with index returns specific noun' => ['1st ' . StoreTest::KEY, [[StoreTest::KEY, 0]], StoreTest::$FIRST_VALUE], |
|
|
65
|
+ 'Non-existent noun returns null' => ['3rd ' . StoreTest::KEY, [[StoreTest::KEY, 2]], null], |
|
|
66
|
+ 'Possessive noun w/o index string property' => [StoreTest::KEY . "'s color", [[StoreTest::KEY, null], ['color', null]], 'Blue'], |
|
|
67
|
+ 'Possessive noun with index string property' => ['1st ' . StoreTest::KEY . "'s color", [[StoreTest::KEY, 0], ['color', null]], 'Red'], |
|
|
68
|
+ 'Possessive noun w/o index collection w/o index' => [StoreTest::KEY . "'s option", [[StoreTest::KEY, null], ['option', null]], 'Air Conditioning'], |
|
|
69
|
+ 'Possessive noun with index collection w/o index' => ['1st ' . StoreTest::KEY . "'s option", [[StoreTest::KEY, 0], ['option', null]], 'Heated Seats'], |
|
|
70
|
+ 'Possessive noun w/o index collection with index' => [StoreTest::KEY . "'s 1st option", [[StoreTest::KEY, null], ['option', 0]], 'Cruise Control'], |
|
|
71
|
+ 'Possessive noun with index collection with index' => ['1st ' . StoreTest::KEY . "'s 1st option", [[StoreTest::KEY, 0], ['option', 0]], 'GPS'], |
|
72
|
72
|
]; |
|
73
|
73
|
} |
|
74
|
74
|
} |