public function testGetDefaultLength() { $platform = new MockPlatform(); $this->assertEquals(3, Type::getType('currency')->getDefaultLength($platform)); }