'(JOIN CLAUSE)', 'where' => '(WHERE CLAUSE)', ); $args = $sut->price_filter_post_clauses( $args, $wp_query ); $expected = '(WHERE CLAUSE) AND NOT (200.000000wc_product_meta_lookup.max_price ) '; $this->assertEquals( $expected, $args['where'] ); } }