}
public void testNormalValues() {
PromotionStatusBuilder builderPromotion = new PromotionStatusBuilder(Promotion.ROLLED_BACK).comment("momo").
repository("popo").timestamp("koko").user("jojo").ciUser("bobo");
PromotionStatus promotionStatus = builderPromotion.build();
assertEquals(promotionStatus.getStatus(), Promotion.ROLLED_BACK, "Unexpected status.");
assertEquals(promotionStatus.getComment(), "momo", "Unexpected comment.");
assertEquals(promotionStatus.getRepository(), "popo", "Unexpected repository.");
assertEquals(promotionStatus.getTimestamp(), "koko", "Unexpected timestamp.");
assertEquals(promotionStatus.getUser(), "jojo", "Unexpected user.");
assertEquals(promotionStatus.getCiUser(), "bobo", "Unexpected ci user.");
Date date = new Date();
String expectedTimeStamp = new SimpleDateFormat(Build.STARTED_FORMAT).format(date);
builderPromotion.timestampDate(date);
promotionStatus = builderPromotion.build();
assertEquals(promotionStatus.getTimestamp(), expectedTimeStamp, "Unexpected timestamp.");
}