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