public function test_shortcode() { $miyasan = new Miyasan(); $words = $miyasan->get_words(); $word = do_shortcode('[kushimoto]'); $this->assertContains($word, $words); $this->assertNotEmpty($word); }
public function test_get_words() { $miyasan = new Miyasan(); $words = $miyasan->get_words(); $this->assertTrue(is_array($words)); }