Happy New Year 2014

/**
 * @author Barista
 */
public class Wishes {

	@Test
	public void thisNewYearShouldBeAsFollows() {
		// given
		final Year newYear = new Year.Builder(2014)
				.betterThenPrevious()
				.withManyJavaConferences()
				.withInterestingJUGsMeetingsAndWorkshops()
				.build();

		// when
		for (final Day day : newYear.days()) {
			// then
			assertThat(day, is(instanceOf(HappyDay.class)));
			assertThat(day, is(efficient().and(productive())));
			assertThat(during(day), isTimeCodingJava(greaterThan(3, HOURS)));
			assertThat(theEnd(of(day)), allOf(tests, are(GREEN)));
		}
	}
}
Happy new year

Leave a Reply