public function testCreateNew()
 {
     $today = DateTime::createFromFormat('d/m/Y', '29/2/2016');
     $promotion = new Promotion();
     $promotion->name = 'This is the title';
     $promotion->short_description = 'This is the body';
     $promotion->active = true;
     $promotion->start_date = $today;
     $promotion->end_date = $today;
     $result = $promotion->save();
     $this->assertTrue($promotion->id == 1);
     $this->assertTrue($promotion->name == 'This is the title');
     $this->assertTrue($promotion->short_description == 'This is the body');
     $this->assertTrue($promotion->active == true);
     $this->assertTrue($promotion->start_date == $today);
     $this->assertTrue($promotion->end_date == $today);
     $this->assertTrue($result == 1);
 }