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