public function string_safestring_equality_test() { $safe_string = new SafeString("hello <p>world</p>"); $this->assert_equal("hello <p>world</p>", $safe_string->unescaped()); $escaped_string = "hello <p>world</p>"; $this->assert_equal($escaped_string, $safe_string); $this->assert_true($escaped_string == $safe_string); $this->assert_false($escaped_string === $safe_string); $this->assert_false("meow" == $safe_string); }