@Test
public void testToDXPVariantSettingsWithNoncontrolVariant() {

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