public class PeriodTest {
@Test
public void testMillis() {
Period period = Period.millis(123);
assertThat(period.timeUnit(), equalTo(TimeUnit.MILLISECONDS));
assertThat(period.howLong(), equalTo(123));
assertThat(period.toString(), equalTo("millis(123)"));
}