1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-23 05:22:53 +00:00
website/files/stripe/tests/AttachedObjectTest.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));
}
}