You are here

public function TagadelicTestCase::testAutoloader in Tagadelic 7.2

testAutoloader Tests if classes are autoloaded. @covers TagadelicCloud, TagadelicTag, TagaDelicDrupalWrapper. @scope public

File

tests/tagadelic.test, line 31

Class

TagadelicTestCase

Code

public function testAutoloader() {
  $tag = new TagadelicTag(12, "jane", 2);
  $cloud = new TagadelicCloud(1337);
  $drupal = new TagaDelicDrupalWrapper();
  $this
    ->assertEqual("TagadelicTag", get_class($tag));
  $this
    ->assertEqual("TagadelicCloud", get_class($cloud));
  $this
    ->assertEqual("TagadelicDrupalWrapper", get_class($drupal));
}