@Test
    public void testExceptionOnBadMajor() {
        try {
            AttrVersion.createFromString("-1.0");
            fail("Should have thrown exception on bad major value");
        } catch (BOSHException boshx) {
            // Good.
        }
    }