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