assertEquals("somePassword", userConfiguration.getPassword());
}
@Test
public void canStripQuotesOfPassword() throws OpenShiftException, IOException {
UserConfigurationFake userConfiguration = new UserConfigurationFake() {
protected void initFile(Writer writer) throws IOException {
writer.append(KEY_PASSWORD).append('=').append("'somePassword'").append('\n');
}
};
assertEquals("somePassword", userConfiguration.getPassword());
}