@Override
    public Optional<Reader> getDeployment() {
        return deploymentSpecString.map(StringReader::new);
    }
To avoid either double parsing or supplying a name explicitly
config-model/src/main/java/com/yahoo/config/model/test/MockApplicationPackage.java