public function testGetAttributes() { $attributes = $this->fb->getAttributes(); $this->assertInternalType('array', $attributes); $this->assertCount(3, $attributes); $this->assertSame('method', key($attributes)); $this->assertSame('POST', current($attributes)); }