public function testNormalizeMethods() { $this->assertEqual(ModularAuthUtility::normalize('hoge.piyo_fuga'), 'Hoge_PiyoFuga'); $this->assertEqual(ModularAuthUtility::normalize('Hoge.PiyoFuga'), 'Hoge_PiyoFuga'); $this->assertEqual(ModularAuthUtility::normalize('Hoge_PiyoFuga'), 'Hoge_PiyoFuga'); $this->assertEqual(ModularAuthUtility::denormalize('hoge.piyo_fuga'), 'Hoge.PiyoFuga'); $this->assertEqual(ModularAuthUtility::denormalize('Hoge.PiyoFuga'), 'Hoge.PiyoFuga'); $this->assertEqual(ModularAuthUtility::denormalize('Hoge_PiyoFuga'), 'Hoge.PiyoFuga'); $this->assertEqual(ModularAuthUtility::normalize('hoge_moge.piyo_fuga'), 'HogeMoge_PiyoFuga'); $this->assertEqual(ModularAuthUtility::denormalize('hoge_moge.piyo_fuga'), 'HogeMoge.PiyoFuga'); }