Example #1
0
 public function testBasicGetResponse()
 {
     $o = new ContentTypeController();
     $p = new EmptyProcessor();
     $r = $o->getResponse(vsc::getEnv()->getHttpRequest(), $p);
     $this->assertNull($r);
 }
Example #2
0
 public function testUseless()
 {
     $o = new ContentTypeController();
     $this->assertNull($o->getDefaultView());
 }
 public function testUseless()
 {
     $this->assertNull(ContentTypeController::isValidContentType('test'));
 }
 public function testUseless()
 {
     $o = new ContentTypeController();
     $this->assertNull($o->getAvailableContentTypes());
 }