public void BaseKeyToHive_should_correctly_map_keys_to_Win32_hives() { RegistryPath.BaseKeyToHive(RegistryBaseKey.ClassesRoot) .Should() .Be(RegistryHive.ClassesRoot); RegistryPath.BaseKeyToHive(RegistryBaseKey.CurrentUser) .Should() .Be(RegistryHive.CurrentUser); RegistryPath.BaseKeyToHive(RegistryBaseKey.LocalMachine) .Should() .Be(RegistryHive.LocalMachine); RegistryPath.BaseKeyToHive(RegistryBaseKey.Users) .Should() .Be(RegistryHive.Users); RegistryPath.BaseKeyToHive(RegistryBaseKey.PerformanceData) .Should() .Be(RegistryHive.PerformanceData); RegistryPath.BaseKeyToHive(RegistryBaseKey.CurrentConfig) .Should() .Be(RegistryHive.CurrentConfig); RegistryPath.BaseKeyToHive(RegistryBaseKey.DynData) .Should() .Be(RegistryHive.DynData); }