public function testResource()
 {
     $object = new PhpProject();
     // Start
     $this->assertEquals(0, $object->getResourceCount());
     $this->assertCount(0, $object->getAllResources());
     $this->assertInternalType('array', $object->getAllResources());
     $this->assertNull($object->getActiveResource());
     // Add a resource
     $this->assertInstanceOf('PhpOffice\\PhpProject\\Resource', $object->createResource());
     $this->assertEquals(1, $object->getResourceCount());
     $this->assertCount(1, $object->getAllResources());
     $this->assertInternalType('array', $object->getAllResources());
     $this->assertInstanceOf('PhpOffice\\PhpProject\\Resource', $object->getActiveResource());
 }