@Test(expected = IllegalMajorException.class)
public void testNegativeMajor() throws Exception
{

    final Beacon beacon = Beacon.newBuilder()
            .setUUID(EXAMPLE_BEACON_1_UUID)
            .setMajor(-1)
            .setMinor(EXAMPLE_BEACON_1_MINOR)
            .build();
}