\n", "
\nhello <world>\n\n
\n"), // @todo: more...? ); } # ================================================================================================================= public function testGetModel() { $content = $this->newContent( "hello world." ); $this->assertEquals( CONTENT_MODEL_CSS, $content->getModel() ); } public function testGetContentHandler() { $content = $this->newContent( "hello world." ); $this->assertEquals( CONTENT_MODEL_CSS, $content->getContentHandler()->getModelID() ); } 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 ), ); } }