@Test
public void shouldReturnJSONObjectWithProperValue() {

    when(client.sendGetterRequest(MARKING_STATUS_URL)).thenReturn(Optional.of(JSON_STRING));
    ResponseMessageVolatilityStatus result = responseMessageVolatilityConfiguration.getResponseMessageVolatilityStatus();
    Assert.assertTrue(result == ResponseMessageVolatilityStatus.ON);
    verify(client, never()).sendSetterRequest(anyString());
}