@Test
public void testCalculateExperimentEstimatedDaysDuration() {

	String days = "14";
	Mockito.when(
		_jsonWebServiceClient.doPost(
			Mockito.eq(String.class), Mockito.anyString(),
			Mockito.anyString(), Mockito.any(ExperimentSettings.class),
			Mockito.anyMapOf(String.class, String.class))
	).thenReturn(
		days
	);
	Assert.assertEquals(
		Long.valueOf(days),
		_asahFaroBackendClient.calculateExperimentEstimatedDaysDuration(
			RandomTestUtil.randomLong(), RandomTestUtil.randomString(),
			new ExperimentSettings()));
}