public function testSetGetAllowedMimetypesWithString() { $input = "image/png"; $this->target->setAllowedTypes($input); $this->assertAttributeSame(['type' => 'file', 'data-allowedtypes' => 'image/png'], 'attributes', $this->target); $this->assertEquals($this->target->getAllowedTypes(), $input); }