public function testDelete() { $test = new Email(1); $another = new Email(2); $this->assertTrue($test->isUsedForNotifications()); $this->assertFalse($another->isUsedForNotifications()); $test->delete(); $another = new Email(2); $this->assertTrue($another->isUsedForNotifications()); }