public void testSpace() { assertEquals(" ", Vba.space(3)); assertEquals("", Vba.space(0)); try { String s = Vba.space(-2); fail("expected error, got " + s); } catch (RuntimeException e) { assertMessage(e, "NegativeArraySizeException"); } }