public function testCancelPage() { $this->post->cancel(); $this->assertTrue(PublishStatus::canceled()->equals($this->post->getStatus())); $this->assertFalse($this->post->isPublished()); }