tests/php/WebsiteTest.php
/**
     * test that a site is returning proper value if it is or isn't live
     */
test that a site is returning proper value if it is or isn't live
test that a site is returning proper value if it is or isn ' t live
public function testGetIsLive()
    {
        $site = $this->objFromFixture('Website', 'dynamic');
        $this->assertTrue($site->getIsLive());
        $dummySite = $this->objFromFixture('Website', 'blarg');
        $this->assertFalse($dummySite->getIsLive());
    }
public function testGetIsLive ( ) { $ site = $ this -> objFromFixture ( 'Website' , 'dynamic' ) ; $ this -> assertTrue ( $ site -> getIsLive ( ) ) ; $ dummySite = $ this -> objFromFixture ( 'Website' , 'blarg' ) ; $ this -> assertFalse ( $ dummySite -> getIsLive ( ) ) ; }
test that a site is returning proper value if it is or isn't live
test that a site is returning proper value if it is or isn ' t live