@Test
public void doubleInputCalculateTest() throws NumberFormatException {

    String width = "1";
    String length = "2.4";
    String height = "3";
    thrown.expect(NumberFormatException.class);
    thrown.expectMessage("For input string: \"2.4\"");
    mainViewModel.calculate(width, height, length);
}