mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 04:52:49 +00:00
19 lines
344 B
PHP
19 lines
344 B
PHP
<?php
|
|
|
|
namespace Stripe;
|
|
|
|
class AttachedObjectTest extends TestCase
|
|
{
|
|
public function testCount()
|
|
{
|
|
$ao = new AttachedObject();
|
|
$this->assertSame(0, count($ao));
|
|
|
|
$ao['key1'] = 'value1';
|
|
$this->assertSame(1, count($ao));
|
|
|
|
$ao['key2'] = 'value2';
|
|
$this->assertSame(2, count($ao));
|
|
}
|
|
}
|