public function seePostMetaFor( $post_id, $meta_key, $meta_value = null ) {
		$metas = get_post_meta( $post_id, $meta_key );

		$message = sprintf( 'Post meta %s does not exist', $meta_key );
		$this->assertNotEmpty( $metas, $message );

		if ( func_num_args() > 2 ) {
			$message = sprintf( 'Post meta %s does not contain expected value', $meta_key );
			$this->assertContains( $meta_value, $metas, $message );
		}
	}
public function seePostMetaFor( $post_id, $meta_key, $meta_value = null ) {
		$metas = get_post_meta( $post_id, $meta_key );

		$message = sprintf( 'Post meta %s does not exist', $meta_key );
		$this->assertNotEmpty( $metas, $message );

		if ( func_num_args() > 2 ) {
			$message = sprintf( 'Post meta %s does not contain expected value', $meta_key );
			$this->assertContains( $meta_value, $metas, $message );
		}
	}
public function seePostMetaFor ( $ post_id , $ meta_key , $ meta_value = null ) { $ metas = get_post_meta ( $ post_id , $ meta_key ) ; $ message = sprintf ( 'Post meta %s does not exist' , $ meta_key ) ; $ this -> assertNotEmpty ( $ metas , $ message ) ; if ( func_num_args ( ) > 2 ) { $ message = sprintf ( 'Post meta %s does not contain expected value' , $ meta_key ) ; $ this -> assertContains ( $ meta_value , $ metas , $ message ) ; } }
Checks a post meta exists for a post.

@since 1.0.0

@access public
@param int $post_id The post id.
@param string $meta_key The meta key to check.
@param mixed $meta_value The meta value to check
Checks a post meta exists for a post .