You are here

public function TagadelicTagToStringTest::test__ToStringHasLink in Tagadelic 7.2

@covers tagadelictag::__tostring

File

tests/TagadelicTagToStringTest.php, line 32

Class

TagadelicTagToStringTest
Class Tagadelictagtostringtest

Code

public function test__ToStringHasLink() {
  $link = '/foo/bar';
  $this->object
    ->set_link($link);
  $this->drupal
    ->expects($this
    ->any())
    ->method('l')
    ->with($this
    ->anything(), $this
    ->equalto($link), $this
    ->anything());
  $this->object
    ->__tostring();
}