public function testAuditFieldTypeRegistry()
 {
     $this->assertFalse(AuditFieldTypeRegistry::hasType('newtype'));
     AuditFieldTypeRegistry::addType('newtype', 'newtype_');
     $this->assertTrue(AuditFieldTypeRegistry::hasType('newtype'));
     $this->assertEquals('newtype_', AuditFieldTypeRegistry::getAuditType('newtype'));
     AuditFieldTypeRegistry::overrideType('newtype', 'overridentype');
     $this->assertEquals('overridentype', AuditFieldTypeRegistry::getAuditType('newtype'));
     AuditFieldTypeRegistry::removeType('newtype');
     $this->assertFalse(AuditFieldTypeRegistry::hasType('newtype'));
 }
 public function teardown()
 {
     AuditFieldTypeRegistry::removeType('testingtype');
 }