public function setUp()
{
// Force default timezone
date_default_timezone_set('UTC');
// Mock client
$this->mockClient = $this->getMock('\\Phue\\Client', array('sendCommand'), array('127.0.0.1'));
// Build stub attributes
$this->attributes = (object) array('name' => 'Dummy schedule', 'description' => 'Dummy description', 'time' => '12-30-2012T01:02:03', 'command' => (object) array('method' => 'POST', 'address' => 'api/something', 'body' => 'body!'), 'status' => Schedule::STATUS_ENABLED, 'autodelete' => false);
// Create schedule object
$this->schedule = new Schedule(6, $this->attributes, $this->mockClient);
}