/** * @test * @group pmc */ public function testUnderscore() { $object = new DataObject(array(), true); $object->withFirstName('Philip')->withLastName('Cali')->withAge(99.98999999999999); $expected = array('first_name' => 'Philip', 'last_name' => 'Cali', 'age' => 99.98999999999999); $this->assertEquals($expected, $object->toArray()); }