public function testGetBackupSchedule()
{
$schedule = (object) ['0' => (object) ['hour' => 16, 'ttl' => 691200], '1' => (object) ['hour' => 16, 'ttl' => 691200], '2' => (object) ['hour' => 16, 'ttl' => 691200], '3' => (object) ['hour' => 16, 'ttl' => 691200], '4' => (object) ['hour' => 16, 'ttl' => 691200], '5' => (object) ['hour' => 16, 'ttl' => 2764800], '6' => (object) ['hour' => 16, 'ttl' => 691200]];
$backups = $this->_createBackups();
$this->request->expects($this->once())->method('request')->with('sites/abc/environments/dev/backups/schedule')->willReturn(['data' => $schedule]);
$actual = $backups->getBackupSchedule();
$expected = ['daily_backup_hour' => '16 UTC', 'weekly_backup_day' => 'Friday'];
$this->assertEquals($expected, $actual);
}