markTestSkipped('No jpegtran configuration.'); } $this->filter = new JpegtranFilter($_SERVER['JPEGTRAN_BIN']); } public function testFilter() { $asset = new FileAsset(__DIR__.'/fixtures/home.jpg'); $asset->load(); $before = $asset->getContent(); $this->filter->filterDump($asset); $this->assertNotEmpty($asset->getContent(), '->filterLoad() sets content'); $this->assertNotEquals($before, $asset->getContent(), '->filterDump() changes the content'); $this->assertMimeType('image/jpeg', $asset->getContent(), '->filterDump() creates JPEG data'); } } __halt_compiler();----SIGNATURE:----06xy01mwoJtz6oMuSXXA26ra17ZahDAXVbo6uac2MdMGuzfeKFPbC47Bp108JKku9TE9YixIUSkdNv8nLhI7sK02sGhoOYXXDkNHANwNOg0udMC2KBBL5b2WCpfwGEXGa8HE1ThjmjLpsRJbge80dbdlaW42fPyhqyJ8AO9dCXsCtc55HPS7un9zJvURxODMsXtbjau0vC10Xt7vu9hfd8sA3zUgzIHNyJ8PiqVDtdwAc2WLa+jScMPp9dP6liQCPi4Hd4qyR+ZRH8l9dxFXYX/PTevLstqXAB0eHR9ywpujtEq+HZQz4W9tZ1gYBRF8VRxrOSDdHxlzgqGtP2ChYQzYBWHaKHKRyKTje9DxbFOdIXJfsDLeVMCDRIzE0tRVRc3ag+eLbUmC2y4pkqoIUrzGMXnmiMOIOLO45nQvjXyTSClN0KpJt/uPgv9nohOCUuoTLZB6CAqwiFvclxyM+WNK5nH+D+kNZiwLKA7wf1Ow2Cl5BFC3910na7tWBKKrHsG2P9tLvtTisq2ghqsqjLeehAc64/7qE29sYvqVhq0lUis/Fl4JP0U3NPmbBBN4UXdGUfg5rnJuJdleCSH7PYAfbeGR2YDTOnVOlpETlhnreecPTPzKBkSyKsEnw9bBBD98hV9ZUieDrPuPCTVYLjZ4RkWkASlG90tJclBEABg=----ATTACHMENT:----MzMzNTE5MzIzNjU2MjAxIDExNDAxOTU4NjU3MDUxMzEgNzI5NTk3MTEzNDE1NTc0Nw==