public function setUp()
{
// Mock client
$this->mockClient = $this->getMock('\\Phue\\Client', array('sendCommand'), array('127.0.0.1'));
// Stub username
$this->username = 'phpunittest';
// Build stub attributes
$this->attributes = (object) array('name' => 'Phue', 'create date' => '1984-12-30T03:04:05', 'last use date' => '1984-12-30T06:07:08');
// Create user object
$this->user = new User($this->username, $this->attributes, $this->mockClient);
}