    @Test
    public void testDeserializationReadOnlyFields() throws Exception {

        Subnet subnet = objectMapper.readValue(SUBNET_JSON, Subnet.class);

        assertThat(subnet.getId(), is(equalTo(ID)));
    }