/** * @test */ public function verifyDocumentStateIsMarkedForDeletionIsSet() { $expectedNotifications = array(\Searchperience\Api\Client\Domain\Document\Document::IS_DELETING); $this->document->setIsMarkedForDeletion(1); $notifications = $this->document->getNotifications(); $this->assertInternalType('array', $notifications); $this->assertEquals($notifications, $expectedNotifications); }