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