	@Test
	public void testCreateOftpServerEndpointWithParameters() throws Exception {

		OftpServerEndpoint endpoint = resolveMandatoryEndpoint("oftp-server://TheServerOID:secret@myhost/?" +
				"userData=DEV&debSize=1496&restart=true&cipherSuite=tripledesRsaSha1");
		OftpSettings config = endpoint.getSettings();

		assertEquals("userData", "DEV", config.getUserData());
		assertEquals("debSize", 1496, config.getDebSize());
		assertEquals("restart", true, config.isRestart());
		assertEquals("cipherSuite", CipherSuite.TRIPLEDES_RSA_SHA1, config.getCipherSuite());

	}