public function testIsActive() { $this->institution->setAsActive(); $this->assertTrue($this->institution->isActive()); $this->institution->setAsApproved(); $this->assertTrue($this->institution->isActive(), 'Isactive should be true after setting as Approved'); $this->institution->setAsSuspended(); $this->assertTrue($this->institution->isActive(), 'Isactive should be true after setting as Suspended'); $this->institution->setAsUnapproved(); $this->assertTrue($this->institution->isActive(), 'Isactive should be true after setting as Unapproved'); $this->institution->setAsInactive(); $this->assertFalse($this->institution->isActive(), 'Isactive should be false after setting as Inactive'); }