function test_jetpack_constants_can_clear_single_constant_when_null() { Jetpack_Constants::set_constant('TEST', null); $this->assertCount(1, Jetpack_Constants::$set_constants); Jetpack_Constants::clear_single_constant('TEST'); $this->assertEmpty(Jetpack_Constants::$set_constants); }
function test_is_dev_version_false_with_number_dot_number_dot_number() { Jetpack_Constants::set_constant('JETPACK__VERSION', '4.3.1'); $this->assertFalse(Jetpack::is_development_version()); }