@Test
public void testAllMajors()
{

    int major = 1;
    while (major <= 65535)
    {
        final Beacon beacon = Beacon.newBuilder()
                .setUUID(EXAMPLE_BEACON_1_UUID)
                .setMajor(major)
                .setMinor(EXAMPLE_BEACON_1_MINOR)
                .build();
        assertNotNull(beacon);
        major++;
    }
}