@Test
public void testUpdateSettings_keysExist() {

   WizardPage page = new TestWizardPage("Test Page","");
   
   WizardSettings settings = new StackWizardSettings();
   page.updateSettings(settings);
   
   Assert.assertTrue("Key set did not contain needed key.",
         settings.keySet().contains("test box"));
   Assert.assertTrue("Key set did not contain needed key.",
         settings.keySet().contains("test field"));
   Assert.assertTrue("Key set did not contain needed key.",
         settings.keySet().contains("custom comp"));
   Assert.assertTrue("Key set did not contain needed key.",
         settings.keySet().contains("formated field"));
}