@Test
public void testToDXPVariantSettingsWithControlVariant() {

	String controlSegmentsExperienceKey = RandomTestUtil.randomString();
	double split = RandomTestUtil.randomDouble();
	DXPVariantSettings dxpVariantSettings =
		DXPVariantSettingsUtil.toDXPVariantSettings(
			controlSegmentsExperienceKey, controlSegmentsExperienceKey,
			split);
	Assert.assertEquals(
		controlSegmentsExperienceKey, dxpVariantSettings.getDXPVariantId());
	Assert.assertEquals(
		split, dxpVariantSettings.getTrafficSplit() / 100, 0.001);
	Assert.assertTrue(dxpVariantSettings.isControl());
}