public function testGetCompressedSizesShouldIncludeSizeEvenIfNotOnFileSystem() { $meta = array(Tiny_Metadata::META_KEY => array("additional_size" => array("start" => 1447925134, "end" => 1447925138, "input" => array("size" => 46480), "output" => array("size" => 37856)))); $this->wp->setMetadata(6, $meta); $tiny_meta = new Tiny_Metadata(6, $this->json("wp_meta_default_sizes")); $this->assertEquals(array("additional_size"), $tiny_meta->get_compressed_sizes()); }