f.locationNameTextField.setText("Newer Test Location");
enterClickAndLeave(f.saveLocationButton);
Assert.assertEquals("changed location name", "Newer Test Location", newLoc.getName());
enterClickAndLeave(f.deleteLocationButton);
Assert.assertEquals("should be 6 locations", 6, lManager.getLocationsByNameList().size());
<BUG>pressDialogButton(f, "Yes");
Assert.assertEquals("should be 5 locations", 5, lManager.getLocationsByNameList().size());</BUG>
f.dispose();
}
private void loadLocations() {

f.locationNameTextField.setText("Newer Test Location");
enterClickAndLeave(f.saveLocationButton);
Assert.assertEquals("changed location name", "Newer Test Location", newLoc.getName());
enterClickAndLeave(f.deleteLocationButton);
Assert.assertEquals("should be 6 locations", 6, lManager.getLocationsByNameList().size());
pressDialogButton(f,Bundle.getMessage("deletelocation?"), "Yes");
Assert.assertEquals("should be 5 locations", 5, lManager.getLocationsByNameList().size());
f.dispose();
}
private void loadLocations() {
