public function testCount() { $container = new Container(); $this->assertSame(0, $container->count()); $container->add(array("foo" => "foobar", "key2" => "value2")); $this->assertSame(2, $container->count()); $container->add(array("foo" => "bar", "key" => "value")); $this->assertSame(3, $container->count()); }