public function test_magic_get_method() { $customer = new Give_Customer('*****@*****.**'); $this->assertEquals('*****@*****.**', $customer->email); $this->assertTrue(is_wp_error($customer->__get('asdf'))); }