@SuppressWarnings("unchecked")
public void addPropertiesNeedingValues(){
final Script script = mockScript(2, 1);
final Set<String> variables = mock(Set.class);
final Set<String> returned = mock(Set.class);
when(script.variablesRequiringDialog()).thenReturn(returned);
setVersion(1, 1);
command.addPropertiesNeedingValues(script, variables);
verify(script).getDBVersion();
verify(script).getPatch();
verify(script).variablesRequiringDialog();