/**
  * @covers SpeedLoader\BuildClass::getClassType
  */
 public function testSetGetClassType()
 {
     /*
      * Interface
      */
     $classRef = $this->getClassReflection('SplHeap');
     $classRef->expects($this->any())->method('isInterface')->willReturn(true);
     $buildClass = new BuildClass();
     $buildClass->setClass($classRef);
     $this->assertEquals('interface', $buildClass->getClassType());
     /*
      * Trait
      */
     $classRef = $this->getClassReflection('SplHeap');
     $classRef->expects($this->any())->method('isInterface')->willReturn(false);
     $classRef->expects($this->any())->method('isTrait')->willReturn(true);
     $buildClass = new BuildClass();
     $buildClass->setClass($classRef);
     $this->assertEquals('trait', $buildClass->getClassType());
     /*
      * Default
      */
     $classRef = $this->getClassReflection('SplHeap');
     $classRef->expects($this->any())->method('isInterface')->willReturn(false);
     $classRef->expects($this->any())->method('isTrait')->willReturn(false);
     $buildClass = new BuildClass();
     $buildClass->setClass($classRef);
     $this->assertEquals('class', $buildClass->getClassType());
 }