--- DelayTest.java 2017-12-15 14:10:57.211282400 +0900 +++ DelayTest.java.fix 2017-12-15 14:27:25.573902400 +0900 @@ -96,6 +96,11 @@ } @Test + public void stringConstructorShouldWorkForNumberAttemptsAndUnitWithSpaces() throws Exception { + assertThat(Delay.from("2 * 36 s")).isEqualTo(new Delay(2, 36000)); + } + + @Test public void stringConstructorShouldThrowOnInvalidInput() throws Exception { expectedException.expect(NumberFormatException.class);