public function testReturnStandardExtension() { $postedFile = new PostedFile(Test\Data::gif1x1(), 'some filename'); $this->assertEquals('gif', $postedFile->getStandardExtension()); }