\n", "
\nhello <world>\n\n
\n"), // @todo: more...? ); } # ================================================================================================================= public function getModelName() { $content = $this->newContent( "hello world." ); $this->assertEquals( CONTENT_MODEL_JAVASCRIPT, $content->getModelName() ); } public function getContentHandler() { $content = $this->newContent( "hello world." ); $this->assertEquals( CONTENT_MODEL_JAVASCRIPT, $content->getContentHandler()->getModelName() ); } public function dataEquals( ) { return array( array( new CssContent( "hallo" ), null, false ), array( new CssContent( "hallo" ), new CssContent( "hallo" ), true ), array( new CssContent( "hallo" ), new WikitextContent( "hallo" ), false ), array( new CssContent( "hallo" ), new CssContent( "HALLO" ), false ), ); } }