@Test
public void overridenValueIsNotSupported() {

    // given
    VirtualPropertiesWriter writer = new VirtualPropertiesWriter(
            new VirtualProperty[0],
            mock(ValueResolver.class)
    );
    expectedException.expect(UnsupportedOperationException.class);
    expectedException.expectMessage("Should not be used with this implementation");
    // when
    writer.value(null, null, null);
}