This seems like a good candidate for a focused unit test. Perhaps a static method can be added here (or elsewhere) with a signature as such:
```
public static Map<String, String> parseDeploymentProperties(String deploymentProperties)
```