@Test
public void beaconContentArrayProtectedTest() {

    BeaconContent target = new BeaconContent("hwid", "enter", "01");
    // Precondition
    assertThat(target.getDeviceMessage())
            .hasSize(1)
            .containsExactly(0x01);
    // Do
    target.getDeviceMessage()[0] = (byte) 0xcd;
    // Verify
    assertThat(target.getDeviceMessage()[0])
            .isEqualTo((byte) 0x01)
            .isNotEqualTo((byte) 0xcd);
}