@Test
public void testImportHostPublicKey() throws Exception
{

    registrationManager.importHostPublicKey( "id", "key", false );
    verify( keyManager ).savePublicKeyRing( "id", SecurityKeyType.CONTAINER_HOST_KEY.getId(), "key" );
}