コード例 #1
0
ファイル: test-collection.php プロジェクト: iCaspar/WPDC_Core
 public function test_last_returns_last_item_in_collection()
 {
     $c = new Collection(array('foo', 'bar'));
     $this->assertEquals('bar', $c->last());
 }