/** * Tests Backup::wasSuccessFul */ public function testSuccessFullByDefault() { $backup = new Backup('name'); $this->assertTrue($backup->wasSuccessful(), 'should be successful by default'); $this->assertTrue($backup->allOk(), 'should be ok by default'); $this->assertFalse($backup->okButSkipsOrFails(), 'nothing should be skipped'); }