public function testGetAttribute() { $former = Former::span1_text('name')->foo('bar'); $this->assertEquals('span1', $former->class); $this->assertEquals('bar', $former->foo); }