<?php

class Test_Functions extends WP_UnitTestCase {

	function setUp(): void {

		parent::setUp();

	}

	function tearDown(): void {

		parent::tearDown();

	}

	/**
	 * Test that the Go Theme is active.
	 */
	function testActiveTheme() {

		$this->assertEquals( 'go', get_template() );

	}

	/**
	 * Test that the Go Theme is active.
	 */
	function testVersionDefined() {

		$this->assertEquals( '1.8.8', GO_VERSION );

	}

	/**
	 * Test that the Go Theme is active.
	 */
	function testBodyOpen() {

		wp_body_open();

		$this->assertEquals( 1, did_action( 'wp_body_open' ) );

	}
}
