/** * Test Get Price * * @covers Give_Donate_Form::get_price */ public function test_get_price() { $simple_form = new Give_Donate_Form($this->_simple_form->ID); $this->assertTrue($simple_form->is_single_price_mode()); $this->assertFalse($simple_form->has_variable_prices()); $this->assertEquals('20.00', $simple_form->get_price()); }