public function test_parse_iframe_content_inner() { $iframe_str = '<iframe src="http://foo.com">Why is there text in here?</iframe>'; $parsed = Shortcode::parse_iframes($iframe_str); $iframe_obj = new stdClass(); $iframe_obj->original = $iframe_str; $iframe_obj->before = ''; $iframe_obj->after = ''; $iframe_obj->inner = 'Why is there text in here?'; $iframe_obj->attrs = array('src' => 'http://foo.com'); $this->assertEquals($iframe_obj, $parsed[0]); }